From 199e8b673fdde520f0501cde0943388d99a83069 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Wed, 7 Sep 2022 01:00:42 +0300 Subject: Tool to run after git pull so you can skip relaunching init.sh or install.sh --- update.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 update.sh 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 -- cgit v1.2.3