diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-06-09 06:52:03 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-06-09 06:52:03 +0300 |
commit | ba1173c9ec87b14a6ba6772d5ebfaafb81c7f888 (patch) | |
tree | 38c4c4972844d8616f220aa65e00b265ff7945ec /update.sh | |
parent | 1a572d674b2c94bbe5b094f563c4875c77575227 (diff) | |
download | arching-kaos-tools-ba1173c9ec87b14a6ba6772d5ebfaafb81c7f888.tar.gz arching-kaos-tools-ba1173c9ec87b14a6ba6772d5ebfaafb81c7f888.tar.bz2 arching-kaos-tools-ba1173c9ec87b14a6ba6772d5ebfaafb81c7f888.zip |
Refactoring
Diffstat (limited to 'update.sh')
-rwxr-xr-x | update.sh | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 |