From 3ebb908ed54341654528faff6a454aa9b137777e Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sun, 1 Dec 2024 09:44:27 +0700 Subject: [PATCH] mint-y-icons: Speedup doinst.sh. Signed-off-by: Willy Sudiarto Raharjo --- mint-y-icons/mint-y-icons.SlackBuild | 3 +++ 1 file changed, 3 insertions(+) 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}