summaryrefslogtreecommitdiff
path: root/community/qingy/qingy.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/qingy/qingy.install')
-rw-r--r--community/qingy/qingy.install21
1 files changed, 21 insertions, 0 deletions
diff --git a/community/qingy/qingy.install b/community/qingy/qingy.install
new file mode 100644
index 000000000..6f0cdaaad
--- /dev/null
+++ b/community/qingy/qingy.install
@@ -0,0 +1,21 @@
+infodir=/usr/share/info
+filelist=(qingy.info.gz)
+
+post_install() {
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file $infodir/dir 2> /dev/null
+ done
+ echo '==> To setup qingy, read /usr/share/doc/qingy/README'
+}
+
+post_upgrade() {
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file $infodir/dir 2> /dev/null
+ done
+}
+
+pre_remove() {
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+ done
+}