diff options
author | R. S. Ananda Murthy <rsamurti@gmail.com> | 2014-06-10 06:46:06 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-06-12 06:51:48 +0700 |
commit | de1381f9c78c1d1825171c26afb79b21b572f765 (patch) | |
tree | b5a4cd900674acfc0113c5571e69098fbf19f19d /academic/gspiceui/doinst.sh | |
parent | 8176a12d6ed8c28cfafacba648835afd48687389 (diff) |
academic/gspiceui: Added (A GUI for Ng-Spice and GNUcap).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/gspiceui/doinst.sh')
-rw-r--r-- | academic/gspiceui/doinst.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/academic/gspiceui/doinst.sh b/academic/gspiceui/doinst.sh new file mode 100644 index 0000000000000..3e5691a052b5b --- /dev/null +++ b/academic/gspiceui/doinst.sh @@ -0,0 +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 usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi |