From 0675b31b501c36db279fd19ee1960123293f528c Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 4 Jan 2020 13:27:36 -0500 Subject: desktop/papirus-icon-theme: Rename doinst.sh.in => doinst.sh. Signed-off-by: B. Watson --- desktop/papirus-icon-theme/doinst.sh | 8 ++++++++ desktop/papirus-icon-theme/doinst.sh.in | 8 -------- desktop/papirus-icon-theme/papirus-icon-theme.SlackBuild | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) create mode 100644 desktop/papirus-icon-theme/doinst.sh delete mode 100644 desktop/papirus-icon-theme/doinst.sh.in diff --git a/desktop/papirus-icon-theme/doinst.sh b/desktop/papirus-icon-theme/doinst.sh new file mode 100644 index 000000000000..fe41c427bf2c --- /dev/null +++ b/desktop/papirus-icon-theme/doinst.sh @@ -0,0 +1,8 @@ +for theme in @THEMES@; do + if [ -e usr/share/icons/$theme/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f usr/share/icons/$theme >/dev/null 2>&1 + fi + fi +done + diff --git a/desktop/papirus-icon-theme/doinst.sh.in b/desktop/papirus-icon-theme/doinst.sh.in deleted file mode 100644 index fe41c427bf2c..000000000000 --- a/desktop/papirus-icon-theme/doinst.sh.in +++ /dev/null @@ -1,8 +0,0 @@ -for theme in @THEMES@; do - if [ -e usr/share/icons/$theme/icon-theme.cache ]; then - if [ -x /usr/bin/gtk-update-icon-cache ]; then - /usr/bin/gtk-update-icon-cache -f usr/share/icons/$theme >/dev/null 2>&1 - fi - fi -done - diff --git a/desktop/papirus-icon-theme/papirus-icon-theme.SlackBuild b/desktop/papirus-icon-theme/papirus-icon-theme.SlackBuild index 82aaef5d9e56..bce2ad2a9459 100644 --- a/desktop/papirus-icon-theme/papirus-icon-theme.SlackBuild +++ b/desktop/papirus-icon-theme/papirus-icon-theme.SlackBuild @@ -82,7 +82,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -sed -e "s/@THEMES@/$THEMES/" $CWD/doinst.sh.in > $PKG/install/doinst.sh +sed -e "s/@THEMES@/$THEMES/" $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} -- cgit v1.2.3