Package: libpaper Version: 1.1.23+nmu2 Tags: patch Do not rely on bash for a script that works in other shells. The only portability change required to make this work is to avoid using the == test(1) operator, as it is a GNU extension. Instead, use -eq to compare for integer equality.
Index: libpaper-1.1.23+nmu2/src/paperconfig.in =================================================================== --- libpaper-1.1.23+nmu2.orig/src/paperconfig.in 2006-01-05 08:59:35.000000000 +0000 +++ libpaper-1.1.23+nmu2/src/paperconfig.in 2010-04-23 11:15:07.220310176 +0100 @@ -1,4 +1,4 @@ -#! /bin/bash +#! /bin/sh # paperconfig: configuration of system paper name # @@ -44,7 +44,7 @@ force=0 -if [ "$#" == 0 ] +if [ "$#" -eq 0 ] then usage fi -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org