sane: fix multifunctional devices rights conflict with cups

This commit is contained in:
Nikolay Amiantov 2014-11-16 01:07:54 +03:00
parent 4d59ac9e67
commit 88d731925d

View file

@ -33,8 +33,8 @@ stdenv.mkDerivation rec {
postInstall = ''
if test "$udevSupport" = "1"; then
mkdir -p $out/etc/udev/rules.d/
./tools/sane-desc -m udev > $out/etc/udev/rules.d/60-libsane.rules || \
cp tools/udev/libsane.rules $out/etc/udev/rules.d/60-libsane.rules
./tools/sane-desc -m udev > $out/etc/udev/rules.d/49-libsane.rules || \
cp tools/udev/libsane.rules $out/etc/udev/rules.d/49-libsane.rules
fi
'';