From ba1173c9ec87b14a6ba6772d5ebfaafb81c7f888 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sun, 9 Jun 2024 06:52:03 +0300 Subject: Refactoring --- update.sh | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'update.sh') 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 -- cgit v1.2.3