3
0
Fork 0
forked from mirrors/nixpkgs

add hotplugging stuff conditionally

svn path=/nixpkgs/trunk/; revision=4633
This commit is contained in:
Armijn Hemel 2006-01-31 12:59:06 +00:00
parent 082d8e6796
commit 3ce62c7a5e

View file

@ -1,3 +1,12 @@
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