diff options
-rwxr-xr-x | install | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |