From 736573a8db4bd098da28a4831ce4c601f880aacd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 12 Oct 2020 10:24:53 +0200 Subject: Add creation for the lock directory --- debian/libsane1.postinst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'debian/libsane1.postinst') diff --git a/debian/libsane1.postinst b/debian/libsane1.postinst index 971103e..88528f0 100644 --- a/debian/libsane1.postinst +++ b/debian/libsane1.postinst @@ -9,6 +9,11 @@ case "$1" in addgroup --quiet --system scanner || true fi + if [ -d /var/lock/sane ]; then + mkdir /var/lock/sane + fi + chown saned:saned /var/lock/sane + ;; abort-upgrade|abort-remove|abort-deconfigure) -- cgit v1.2.3