summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rwxr-xr-xinstall6
1 files changed, 4 insertions, 2 deletions
diff --git a/install b/install
index e4cc885..6b77ea2 100755
--- a/install
+++ b/install
@@ -1,7 +1,5 @@
#! /bin/sh
-DEST_DIR=$HOME/bin
-
DONOTDO="install bashrc solarized xkb-jeyzu.patch"
function link ()
@@ -19,6 +17,10 @@ function link ()
fi
}
+DIR=${0%/*}
+DEST_DIR=$HOME/bin
+pushd $DIR || exit 1
+
rm *~ 2>/dev/null
for f in *; do
echo $DONOTDO | grep -q $f 2>/dev/null