summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/numix-icon-theme-circle/numix-icon-theme-circle.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop/numix-icon-theme-circle/numix-icon-theme-circle.SlackBuild b/desktop/numix-icon-theme-circle/numix-icon-theme-circle.SlackBuild
index b12e167d67..5b7bbb52b0 100644
--- a/desktop/numix-icon-theme-circle/numix-icon-theme-circle.SlackBuild
+++ b/desktop/numix-icon-theme-circle/numix-icon-theme-circle.SlackBuild
@@ -59,4 +59,7 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
+find . -type l \
+ -printf '( cd %h ; rm -rf %f )\n( cd %h ; ln -sf %l %f )\n' -delete | \
+ sed 's,cd \./,cd ,' >> $PKG/install/doinst.sh
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}