From 6835eb02543a2a4e7051c6366cd4613315e87020 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 7 Feb 2022 20:34:31 +0100 Subject: d/sane-utils.postinst: Fix syntax error --- debian/1.sh | 12 ++++++++++++ debian/changelog | 7 +++++++ debian/sane-utils.postinst | 2 +- 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100755 debian/1.sh 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 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 -- cgit v1.2.3