summaryrefslogtreecommitdiff
path: root/community/xmonad-contrib/xmonad-contrib.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/xmonad-contrib/xmonad-contrib.install')
-rw-r--r--community/xmonad-contrib/xmonad-contrib.install17
1 files changed, 17 insertions, 0 deletions
diff --git a/community/xmonad-contrib/xmonad-contrib.install b/community/xmonad-contrib/xmonad-contrib.install
new file mode 100644
index 000000000..e9208c833
--- /dev/null
+++ b/community/xmonad-contrib/xmonad-contrib.install
@@ -0,0 +1,17 @@
+HS_DIR=usr/share/haskell/xmonad-contrib
+
+post_install() {
+ ${HS_DIR}/register.sh
+}
+
+pre_upgrade() {
+ ${HS_DIR}/unregister.sh
+}
+
+post_upgrade() {
+ ${HS_DIR}/register.sh
+}
+
+pre_remove() {
+ ${HS_DIR}/unregister.sh
+}