diff options
author | Isaac Yu <isaacyu1@isaacyu1.com> | 2020-04-10 09:52:20 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-04-10 09:52:20 +0700 |
commit | 06a103a47aaf9e2b4934ceb7d283fb67ca7613a7 (patch) | |
tree | eafa6303b2a7192ea5660fdf6deab692d351144a /desktop | |
parent | 1c1d8f6cc335a8eed690faf5c884b76dc4876e0b (diff) | |
download | slackbuilds-06a103a47aaf9e2b4934ceb7d283fb67ca7613a7.tar.gz |
desktop/numix-icon-theme-circle: Speed up symlink creation.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/numix-icon-theme-circle/numix-icon-theme-circle.SlackBuild | 3 |
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} |