diff options
Diffstat (limited to 'update.sh')
-rwxr-xr-x | update.sh | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -7,3 +7,11 @@ for b in $binfiles do if [ ! -L $AK_BINDIR/$b ] ; then ln -s $(pwd)/bin/$b $AK_BINDIR/$b ;fi done +find $AK_BINDIR -type l | while read link +do + if [ ! -f $link ] + then + echo "Non working link: $(basename $link) removing..." + rm $link + fi +done |