diff options
author | Esteban Carnevale <alfplayer@mailoo.org> | 2015-05-17 20:16:14 -0300 |
---|---|---|
committer | Esteban Carnevale <alfplayer@mailoo.org> | 2015-05-17 20:17:54 -0300 |
commit | 69ca18b1a204f340ec82a9c209ca2fe64ee36f12 (patch) | |
tree | 89485237ad0eb8e83a3f4b2d22730ce86c331b81 /pcr/glib/glib.install | |
parent | 2bef1fef811e3f553f18a6dac1c32e4dfff7ae13 (diff) | |
download | abslibre-69ca18b1a204f340ec82a9c209ca2fe64ee36f12.tar.gz abslibre-69ca18b1a204f340ec82a9c209ca2fe64ee36f12.tar.bz2 abslibre-69ca18b1a204f340ec82a9c209ca2fe64ee36f12.zip |
glib: add new package
Diffstat (limited to 'pcr/glib/glib.install')
-rw-r--r-- | pcr/glib/glib.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pcr/glib/glib.install b/pcr/glib/glib.install new file mode 100644 index 000000000..c0046feba --- /dev/null +++ b/pcr/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 +} |