diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/libsane1.postinst | 5 | ||||
-rw-r--r-- | debian/patches/0055-Fix_build_error.patch | 2 |
3 files changed, 10 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog index fdc0acd..462cbb7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,7 +3,10 @@ sane-backends (1.0.31-3) UNRELEASED; urgency=medium * debian/sane-utils.postrm (Closes: #941625): - On purge remove pid file if sysvinit are used. * debian/99-libsane1.rules (Closes: #960083): - - Add contition ENV{DEVNAME}!="" to run setfacl only on usb scanners. + - Add condition ENV{DEVNAME}!="" to run setfacl only on usb scanners. + * debian/libsane1.postinst: + - Add creation for the lock directory + (Thanks to Andreas Tscharner <andy@stupidmail.ch>). -- Jörg Frings-Fürst <debian@jff.email> Wed, 30 Sep 2020 16:12:47 +0200 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) diff --git a/debian/patches/0055-Fix_build_error.patch b/debian/patches/0055-Fix_build_error.patch index 3816692..b1b09b1 100644 --- a/debian/patches/0055-Fix_build_error.patch +++ b/debian/patches/0055-Fix_build_error.patch @@ -13,7 +13,7 @@ Index: trunk/po/POTFILES.in backend/p5_device.c backend/pixma/pixma.c -backend/pixma/pixma_sane_options.c -+#backend/pixma/pixma_sane_options.c ++backend/pixma/pixma_sane_options.c backend/plustek.c backend/plustek_pp.c backend/pnm.c |