aboutsummaryrefslogtreecommitdiff
path: root/update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/update.sh b/update.sh
index 31e49d1..db47d8b 100755
--- a/update.sh
+++ b/update.sh
@@ -40,3 +40,14 @@ do
ln -s $(pwd)/lib/$l $AK_LIBDIR/$l
fi
done
+
+# Find modules and create symlinks
+modfiles=$(ls -1 $(pwd)/modules)
+for m in $modfiles
+do
+ if [ ! -L $AK_MODULESDIR/$m ]
+ then
+ echo "Non existing link: $(basename $m) creating..."
+ ln -s $(pwd)/modules/$m $AK_MODULESDIR/$m
+ fi
+done