summaryrefslogtreecommitdiff
path: root/pcr/pspp/pspp.install
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/pspp/pspp.install')
-rw-r--r--pcr/pspp/pspp.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/pcr/pspp/pspp.install b/pcr/pspp/pspp.install
new file mode 100644
index 000000000..def5ae5a5
--- /dev/null
+++ b/pcr/pspp/pspp.install
@@ -0,0 +1,18 @@
+post_install() {
+ update-desktop-database -q
+ gtk-update-icon-cache /usr/share/icons/hicolor
+ cd /usr/share/info
+ install-info pspp.info.gz dir
+ install-info pspp-dev.info dir
+}
+
+pre_remove() {
+ cd /usr/share/info
+ install-info --remove pspp.info.gz dir
+ install-info --remove pspp-dev.info dir
+}
+
+post_remove() {
+ update-desktop-database -q
+ gtk-update-icon-cache /usr/share/icons/hicolor
+}