aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-03-27 05:26:14 +0200
committerkaotisk <kaotisk@arching-kaos.org>2024-03-27 05:26:14 +0200
commit1cb6c8bef840a96baa37392e9833a7674f805a83 (patch)
tree9ccc2152cd884c603812d6b03d166d31b4577174
parent63fc31c7917aa4dbcf4dcea34ef8352056a1da95 (diff)
downloadarching-kaos-tools-1cb6c8bef840a96baa37392e9833a7674f805a83.tar.gz
arching-kaos-tools-1cb6c8bef840a96baa37392e9833a7674f805a83.tar.bz2
arching-kaos-tools-1cb6c8bef840a96baa37392e9833a7674f805a83.zip
A bit more verbose update command
-rwxr-xr-xupdate.sh12
1 files changed, 10 insertions, 2 deletions
diff --git a/update.sh b/update.sh
index cd2aeaf..31e49d1 100755
--- a/update.sh
+++ b/update.sh
@@ -13,7 +13,11 @@ done
binfiles=$(ls -1 $(pwd)/bin)
for b in $binfiles
do
- if [ ! -L $AK_BINDIR/$b ] ; then ln -s $(pwd)/bin/$b $AK_BINDIR/$b ;fi
+ if [ ! -L $AK_BINDIR/$b ]
+ then
+ echo "Non existing link: $(basename $b) creating..."
+ ln -s $(pwd)/bin/$b $AK_BINDIR/$b
+ fi
done
# Updates lib files
@@ -30,5 +34,9 @@ done
libfiles=$(ls -1 $(pwd)/lib)
for l in $libfiles
do
- if [ ! -L $AK_LIBDIR/$l ] ; then ln -s $(pwd)/lib/$l $AK_LIBDIR/$l ;fi
+ if [ ! -L $AK_LIBDIR/$l ]
+ then
+ echo "Non existing link: $(basename $l) creating..."
+ ln -s $(pwd)/lib/$l $AK_LIBDIR/$l
+ fi
done