If /sbin/ isn't in the path, udev rules will erroneously not get

installed.

Signed-off-by: Nivedita Singhvi <niv@us.ibm.com>
This commit is contained in:
kaf24@firebug.cl.cam.ac.uk committed 2005-11-14 11:05:34 +01:00
1 parent deb1c115f9
commit e7b975b0b6
10 files changed
+40 -14

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ echo "Installing Xen from '$src' to '$dst'..."
cp -fdRL $src/etc/init.d/* $dst/etc/init.d/
echo "All done."
if [ -x /sbin/udev ] && [ ! -z `udev -V` ] && [ `/sbin/udev -V` -ge 059 ]; then
if [ -x /sbin/udev ] && [ ! -z `/sbin/udev -V` ] && [ `/sbin/udev -V` -ge 059 ]; then
cp -f $src/etc/udev/rules.d/*.rules $dst/etc/udev/rules.d/
else
cp -f $src/etc/hotplug/*.agent $dst/etc/hotplug/
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.