diff options
-rwxr-xr-x | update.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/update.sh b/update.sh new file mode 100755 index 0000000..928ba06 --- /dev/null +++ b/update.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +# Find scripts and create symlinks + +binfiles=$(ls -1 $(pwd)/bin) +for b in $binfiles +do + if [[ ! -L $BINDIR/$b ]] ; then ln -s $(pwd)/bin/$b $BINDIR/$b ;fi +done |