summaryrefslogtreecommitdiff
path: root/academic/qucs/doinst.sh
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-03-26 11:26:36 +1300
committerAndrew Clemons <andrew.clemons@gmail.com>2022-03-26 11:46:45 +1300
commite0201e1c6fdb53f99ca6781f78ce55fbf11dbd7b (patch)
treeb2d00ba14cbcfad76e4f2de3447b845c4b6b3019 /academic/qucs/doinst.sh
parentcc7abeadd64917c96012cf2d7c3f4aa0ada9e5bb (diff)
downloadslackbuilds-e0201e1c6fdb53f99ca6781f78ce55fbf11dbd7b.tar.gz
academic/qucs: Align to template.
Put libs in correct directory, remove .la files. Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Diffstat (limited to 'academic/qucs/doinst.sh')
-rw-r--r--academic/qucs/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/academic/qucs/doinst.sh b/academic/qucs/doinst.sh
index 5fb28930db..65c7e2eeb9 100644
--- a/academic/qucs/doinst.sh
+++ b/academic/qucs/doinst.sh
@@ -1,3 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi