add hotplugging stuff conditionally
svn path=/nixpkgs/trunk/; revision=4633
This commit is contained in:
parent
082d8e6796
commit
3ce62c7a5e
@ -1,3 +1,12 @@
|
|||||||
source $stdenv/setup
|
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
|
genericBuild
|
||||||
|
Loading…
x
Reference in New Issue
Block a user