diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2022-09-07 01:00:42 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2022-09-07 01:00:42 +0300 |
commit | 199e8b673fdde520f0501cde0943388d99a83069 (patch) | |
tree | 0f8d4753b384204efcc3eb06ce9847c5ea7b8a0b /update.sh | |
parent | d54132bfd7cc569cfef7beda0860a375625383ea (diff) | |
download | arching-kaos-tools-199e8b673fdde520f0501cde0943388d99a83069.tar.gz arching-kaos-tools-199e8b673fdde520f0501cde0943388d99a83069.tar.bz2 arching-kaos-tools-199e8b673fdde520f0501cde0943388d99a83069.zip |
Tool to run after git pull so you can skip relaunching init.sh or install.sh
Diffstat (limited to 'update.sh')
-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 |