diff --git a/mint-y-icons/mint-y-icons.SlackBuild b/mint-y-icons/mint-y-icons.SlackBuild index db76cc9..c7355df 100644 --- a/mint-y-icons/mint-y-icons.SlackBuild +++ b/mint-y-icons/mint-y-icons.SlackBuild @@ -56,6 +56,9 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +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}