3
0
Fork 0
forked from mirrors/nixpkgs

* Work properly when lvm is disabled.

svn path=/nixos/trunk/; revision=8947
This commit is contained in:
Eelco Dolstra 2007-07-05 14:19:48 +00:00
parent cd1023c50d
commit 2cfd8c9a3a

View file

@ -58,7 +58,7 @@ rec {
}
"
ensureDir $out/bin
if [ -n $devicemapper ]; then
if test -n \"$devicemapper\"; then
cp $devicemapper/sbin/dmsetup.static $out/bin/dmsetup
cp $lvm2/sbin/lvm.static $out/bin/lvm
ln -s lvm $out/bin/vgscan