summaryrefslogtreecommitdiff
path: root/extra/barcode/barcode.install
diff options
context:
space:
mode:
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