# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.580 2006/02/17 14:50:15 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.581 2006/02/21 19:50:22 wolf31o2 Exp $
+
+ 21 Feb 2006; Chris Gianelloni <wolf31o2@gentoo.org>
+ targets/support/livecdfs-update.sh:
+ Added wrapping around the udev sed for those crazy 2.4-users.
17 Feb 2006; Chris Gianelloni <wolf31o2@gentoo.org> catalyst,
targets/support/livecdfs-update.sh:
#!/bin/bash
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/targets/support/livecdfs-update.sh,v 1.38 2006/02/17 14:50:15 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/support/livecdfs-update.sh,v 1.39 2006/02/21 19:50:22 wolf31o2 Exp $
. /tmp/chroot-functions.sh
;;
esac
-sed -i "s:\t\[\[ -x /sbin/evms_activate:\t\[\[ -x \${CDBOOT} \]\] \&\& \[\[ -x /sbin/evms_activate:" /lib/rcscripts/addons/udev-start.sh
+if [-e /lib/rcscripts/addons/udev-start.sh ]
+then
+ sed -i "s:\t\[\[ -x /sbin/evms_activate:\t\[\[ -x \${CDBOOT} \]\] \&\& \[\[ -x /sbin/evms_activate:" /lib/rcscripts/addons/udev-start.sh
+fi