summaryrefslogtreecommitdiff
path: root/testing/wget/wget.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-08-17 23:14:29 +0000
committerroot <root@rshg054.dnsready.net>2011-08-17 23:14:29 +0000
commit3413e75c9cdb6c0daf6ddf92f469a2221c94a55b (patch)
treeebc8d673526a7bcca4a4fcd6ed7872baec735f90 /testing/wget/wget.install
parent68b7938bb87c6e91d54e4f35f0223c7237fa53e1 (diff)
Wed Aug 17 23:14:29 UTC 2011
Diffstat (limited to 'testing/wget/wget.install')
-rw-r--r--testing/wget/wget.install20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/wget/wget.install b/testing/wget/wget.install
new file mode 100644
index 000000000..8eb6a2c3f
--- /dev/null
+++ b/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
+}