summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2022-02-07 20:34:31 +0100
committerJörg Frings-Fürst <debian@jff.email>2022-02-07 20:34:31 +0100
commit6835eb02543a2a4e7051c6366cd4613315e87020 (patch)
treec9b6b0ae9c40b02ee957d37cdd709e9b74b23179
parent6d23092d5e4c815f67dd9f3d30d00c40f685e828 (diff)
d/sane-utils.postinst: Fix syntax error
-rwxr-xr-xdebian/1.sh12
-rw-r--r--debian/changelog7
-rw-r--r--debian/sane-utils.postinst2
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..b81633b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+sane-backends (1.1.1-2) UNRELEASED; urgency=medium
+
+ * debina/sane-utils.postinst:
+ - Fix syntax error (Closes: #1005102).
+
+ -- Jörg Frings-Fürst <debian@jff.email> Mon, 07 Feb 2022 11:44:18 +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