aboutsummaryrefslogtreecommitdiff
path: root/update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/update.sh b/update.sh
index db47d8b..09fe584 100755
--- a/update.sh
+++ b/update.sh
@@ -30,6 +30,15 @@ do
fi
done
+find $AK_MODULESDIR -type l | while read link
+do
+ if [ ! -f $link ]
+ then
+ echo "Non working link: $(basename $link) removing..."
+ rm $link
+ fi
+done
+
# Find scripts and create symlinks
libfiles=$(ls -1 $(pwd)/lib)
for l in $libfiles