summaryrefslogtreecommitdiff
path: root/extra/barcode/barcode.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-04-01 00:05:25 -0700
committerroot <root@rshg054.dnsready.net>2013-04-01 00:05:25 -0700
commitc623429f33c434cb1cb11974d9e71f48dd5a881f (patch)
treea5ef4b20d134eb0384a567b98ea41733f2db73c7 /extra/barcode/barcode.install
parentbccd6b361bd252b2d32bc9a793c9e1b8448bfcd9 (diff)
Mon Apr 1 00:05:25 PDT 2013
Diffstat (limited to 'extra/barcode/barcode.install')
-rw-r--r--extra/barcode/barcode.install6
1 files changed, 3 insertions, 3 deletions
diff --git a/extra/barcode/barcode.install b/extra/barcode/barcode.install
index 2f566fcfd..83966a37d 100644
--- a/extra/barcode/barcode.install
+++ b/extra/barcode/barcode.install
@@ -2,18 +2,18 @@ infodir=/usr/share/info
filelist=(barcode.info.gz)
post_install() {
- [ -x usr/bin/install-info ] || return 0
+ [ -x usr/bin/install-info ]
for file in ${filelist[@]}; do
install-info $infodir/$file $infodir/dir 2> /dev/null
done
}
post_upgrade() {
- post_install $1
+ post_install
}
pre_remove() {
- [ -x usr/bin/install-info ] || return 0
+ [ -x usr/bin/install-info ]
for file in ${filelist[@]}; do
install-info --delete $infodir/$file $infodir/dir 2> /dev/null
done