1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 16:42:09 +00:00
nixpkgs/pkgs/misc/linuxwacom/builder.sh
Armijn Hemel 0d3400daf9 add udev rules, but make them optional (default == off)
svn path=/nixpkgs/trunk/; revision=4643
2006-01-31 16:00:05 +00:00

13 lines
209 B
Bash

source $stdenv/setup
postInstall() {
if test -n "$udevSupport"; then
ensureDir $out/etc/udev/rules.d
cp $udevRules $out/etc/udev/rules.d/10-wacom.rules
fi
}
postInstall=postInstall
genericBuild