diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-07 02:25:37 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-07 02:25:37 (GMT) |
commit | b770aa798aa8372bf914f5f0f4d60ec7e435e9d0 (patch) | |
tree | bd1cb69df32ba5abfd1152875b8b27de1abd3e54 /abs/core/glib/glib.install | |
parent | 8f4099344ace32c35c62ac22c159dd764bc1797a (diff) | |
download | linhes_pkgbuild-b770aa798aa8372bf914f5f0f4d60ec7e435e9d0.zip linhes_pkgbuild-b770aa798aa8372bf914f5f0f4d60ec7e435e9d0.tar.gz linhes_pkgbuild-b770aa798aa8372bf914f5f0f4d60ec7e435e9d0.tar.bz2 |
glib 1.2.10
Diffstat (limited to 'abs/core/glib/glib.install')
-rw-r--r-- | abs/core/glib/glib.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/abs/core/glib/glib.install b/abs/core/glib/glib.install new file mode 100644 index 0000000..c0046fe --- /dev/null +++ b/abs/core/glib/glib.install @@ -0,0 +1,20 @@ +infodir=usr/share/info +filelist=(glib.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 +} |