summaryrefslogtreecommitdiff
path: root/community/xboard/xboard.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/xboard/xboard.install')
-rw-r--r--community/xboard/xboard.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/community/xboard/xboard.install b/community/xboard/xboard.install
new file mode 100644
index 000000000..2f8c493c9
--- /dev/null
+++ b/community/xboard/xboard.install
@@ -0,0 +1,15 @@
+post_install() {
+ install-info usr/share/info/xboard.info.gz usr/share/info/dir 2>/dev/null
+ xdg-icon-resource forceupdate --theme hicolor &>/dev/null
+ true
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ install-info --delete usr/share/info/xboard.info.gz usr/share/info/dir 2>/dev/null
+ xdg-icon-resource forceupdate --theme hicolor &>/dev/null
+ true
+}