diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-07-18 20:59:45 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-07-18 20:59:45 +0200 |
commit | dfbdeafa39da8605c124f47d811ebca2330d9169 (patch) | |
tree | 1f1431f9306cc06de7fc20616cb6124f4535d1a7 /util | |
parent | eb322e831297ee8fd773049c1a00c915c49dc93e (diff) | |
parent | 82a4bbd571131462bbff1cb2455af46747f3b840 (diff) | |
download | volse-hubzilla-dfbdeafa39da8605c124f47d811ebca2330d9169.tar.gz volse-hubzilla-dfbdeafa39da8605c124f47d811ebca2330d9169.tar.bz2 volse-hubzilla-dfbdeafa39da8605c124f47d811ebca2330d9169.zip |
Merge remote-tracking branch 'mike/master' into dev
Diffstat (limited to 'util')
-rwxr-xr-x | util/update_addon_repo | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/util/update_addon_repo b/util/update_addon_repo index 0e471eb4f..02c860c8c 100755 --- a/util/update_addon_repo +++ b/util/update_addon_repo @@ -44,3 +44,10 @@ for a in "${filelist[@]}" ; do echo linking $base ln -s ../extend/addon/$1/$base $base done + +for x in `ls` ; do + if [ -L "$x" ] && ! [ -e "$x" ]; then + echo "removing dead symlink $x" ; + rm -- "$x"; + fi; +done |