summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/wget/wget.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-09-10 01:46:12 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-09-10 01:46:12 (GMT)
commit690fa2bf80dba5e7576234094575bef0475e1f74 (patch)
tree30cd9ea13b960918d962e6e921a1792b4c476c0d /abs/core-testing/wget/wget.install
parent525753e4a1a139e088d8ac120b19fbab6c0aaaa6 (diff)
downloadlinhes_pkgbuild-690fa2bf80dba5e7576234094575bef0475e1f74.zip
linhes_pkgbuild-690fa2bf80dba5e7576234094575bef0475e1f74.tar.gz
linhes_pkgbuild-690fa2bf80dba5e7576234094575bef0475e1f74.tar.bz2
pacman & helpers: update pacman to lastest version from archlinux
Diffstat (limited to 'abs/core-testing/wget/wget.install')
-rw-r--r--abs/core-testing/wget/wget.install20
1 files changed, 20 insertions, 0 deletions
diff --git a/abs/core-testing/wget/wget.install b/abs/core-testing/wget/wget.install
new file mode 100644
index 0000000..1715333
--- /dev/null
+++ b/abs/core-testing/wget/wget.install
@@ -0,0 +1,20 @@
+infodir=/usr/share/info
+filelist=(wget.info)
+
+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
+}