mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 03:15:56 +03:00
sane: fix multifunctional devices rights conflict with cups
This commit is contained in:
parent
4d59ac9e67
commit
88d731925d
@ -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
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user