1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00

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