summaryrefslogtreecommitdiff
path: root/pcr/gnuit/gnuit.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-11-14 17:17:06 -0200
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-11-14 17:17:06 -0200
commit762b84f828dc02cc9a70268b178e944469148007 (patch)
tree523f05cfa4efe2a4f48c00e8aa829a472a81f7f1 /pcr/gnuit/gnuit.install
parentf670012fe35dd14cfdf11e579ede0ec7de2a0c24 (diff)
parent3003c34a15ad9b553e8511102aebab469886754f (diff)
downloadabslibre-762b84f828dc02cc9a70268b178e944469148007.tar.gz
abslibre-762b84f828dc02cc9a70268b178e944469148007.tar.bz2
abslibre-762b84f828dc02cc9a70268b178e944469148007.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/gnuit/gnuit.install')
-rw-r--r--pcr/gnuit/gnuit.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/pcr/gnuit/gnuit.install b/pcr/gnuit/gnuit.install
new file mode 100644
index 000000000..e26e79dae
--- /dev/null
+++ b/pcr/gnuit/gnuit.install
@@ -0,0 +1,16 @@
+infodir=usr/share/info
+file=gnuit.info
+
+post_install() {
+ [[ -x usr/bin/install-info ]] || return 0
+ install-info "$infodir/$file.gz" "$infodir/dir" 2> /dev/null
+}
+
+post_upgrade() {
+ post_install "$1"
+}
+
+pre_remove() {
+ [[ -x usr/bin/install-info ]] || return 0
+ install-info --delete "$infodir/$file.gz" "$infodir/dir" 2> /dev/null
+}