diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2015-05-28 11:29:47 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2015-05-28 11:29:47 -0300 |
commit | fcb2d26cfa3b265200b5ae9e949d787a56bd4f14 (patch) | |
tree | 60bf5147d7608e6217b37e6807c386b3a43a2b36 /pcr/gtk/gtk.install | |
parent | 19fe7e7da672746eea0c2cae0307cea5e54fb23e (diff) | |
parent | b0bb663657922f0154dd8d60a6d5455f9a2bfe3c (diff) | |
download | abslibre-fcb2d26cfa3b265200b5ae9e949d787a56bd4f14.tar.gz abslibre-fcb2d26cfa3b265200b5ae9e949d787a56bd4f14.tar.bz2 abslibre-fcb2d26cfa3b265200b5ae9e949d787a56bd4f14.zip |
Merge branch 'master' of git://projects.parabola.nu/abslibre/abslibre
Diffstat (limited to 'pcr/gtk/gtk.install')
-rw-r--r-- | pcr/gtk/gtk.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pcr/gtk/gtk.install b/pcr/gtk/gtk.install new file mode 100644 index 000000000..8758bebc3 --- /dev/null +++ b/pcr/gtk/gtk.install @@ -0,0 +1,20 @@ +infodir=usr/share/info +filelist=(gdk.info.gz gtk.info.gz) + +post_install() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + install-info $infodir/$file $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + install-info --delete $infodir/$file $infodir/dir 2> /dev/null + done +} |