diff options
-rwxr-xr-x | debian/1.sh | 12 | ||||
-rw-r--r-- | debian/changelog | 7 | ||||
-rw-r--r-- | debian/sane-utils.postinst | 2 |
3 files changed, 20 insertions, 1 deletions
diff --git a/debian/1.sh b/debian/1.sh new file mode 100755 index 0000000..9d8e101 --- /dev/null +++ b/debian/1.sh @@ -0,0 +1,12 @@ +#!/bin/sh +set -e + + + if [ ! -d /var/lib/saned ] ; then + echo /var/lib/saned not found + fi + + if [ -d /var/lib/saned ] ; then + echo /var/lib/saned found + fi + diff --git a/debian/changelog b/debian/changelog index 1a3e467..bae3faf 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +sane-backends (1.1.1-2) unstable; urgency=medium + + * debina/sane-utils.postinst: + - Fix syntax error (Closes: #1005102). + + -- Jörg Frings-Fürst <debian@jff.email> Mon, 07 Feb 2022 20:35:48 +0100 + sane-backends (1.1.1-1) unstable; urgency=medium * New upstream release. diff --git a/debian/sane-utils.postinst b/debian/sane-utils.postinst index cde28cf..4d8e9b1 100644 --- a/debian/sane-utils.postinst +++ b/debian/sane-utils.postinst @@ -62,7 +62,7 @@ if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ]; then fi fi - if [ ! -d /var/lib/saned saned ] ; then + if [ ! -d /var/lib/saned ] ; then usermod -d /var/lib/saned saned fi |