nixpkgs/pkgs/misc/sane-backends/builder.sh
Armijn Hemel 3ce62c7a5e add hotplugging stuff conditionally
svn path=/nixpkgs/trunk/; revision=4633
2006-01-31 12:59:06 +00:00

13 lines
204 B
Bash

source $stdenv/setup
postInstall() {
if test $hotplugSupport = "1" ; then
ensureDir $out/etc/hotplug/usb/
cp tools/hotplug/* $out/etc/hotplug/usb/
fi
}
postInstall=postInstall
genericBuild