From 06a103a47aaf9e2b4934ceb7d283fb67ca7613a7 Mon Sep 17 00:00:00 2001 From: Isaac Yu Date: Fri, 10 Apr 2020 09:52:20 +0700 Subject: desktop/numix-icon-theme-circle: Speed up symlink creation. Signed-off-by: Willy Sudiarto Raharjo --- desktop/numix-icon-theme-circle/numix-icon-theme-circle.SlackBuild | 3 +++ 1 file changed, 3 insertions(+) (limited to 'desktop') 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 b12e167d67ec0..5b7bbb52b0c82 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} -- cgit v1.2.3