diff --git a/testing/numix-icon-theme-circle/numix-icon-theme-circle.SlackBuild b/testing/numix-icon-theme-circle/numix-icon-theme-circle.SlackBuild index bdc67fc..f82f1ad 100644 --- a/testing/numix-icon-theme-circle/numix-icon-theme-circle.SlackBuild +++ b/testing/numix-icon-theme-circle/numix-icon-theme-circle.SlackBuild @@ -80,5 +80,9 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh +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 + cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz}