summaryrefslogtreecommitdiff
path: root/community/mpop/mpop.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/mpop/mpop.install')
-rw-r--r--community/mpop/mpop.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/community/mpop/mpop.install b/community/mpop/mpop.install
new file mode 100644
index 000000000..20b79ef3f
--- /dev/null
+++ b/community/mpop/mpop.install
@@ -0,0 +1,16 @@
+infodir=/usr/share/info
+
+post_install() {
+ install-info "$infodir/mpop.info" "$infodir/dir" 2>/dev/null
+
+ echo "==> Sample config: /usr/share/mpop/mpoprc.example"
+ echo "==> Copy it to your home folder as ~/.mpoprc."
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ install-info --delete "$infodir/mpop.info" "$infodir/dir" 2>/dev/null
+}