diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-04-10 03:22:10 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-04-10 03:22:10 +0000 |
commit | 50892468a1c260986cac10beaaa60cf578f0fa86 (patch) | |
tree | 189f1d37f64769929ca4c06b874a8d8b3933e09c /sys-fs/udev | |
parent | make sure we run oldconfig with user supplied config files #128633 (diff) | |
download | gentoo-2-50892468a1c260986cac10beaaa60cf578f0fa86.tar.gz gentoo-2-50892468a1c260986cac10beaaa60cf578f0fa86.tar.bz2 gentoo-2-50892468a1c260986cac10beaaa60cf578f0fa86.zip |
only copy over /lib/udev/devices/* if /lib/udev/devices actually exists
(Portage version: 2.1_pre7-r4)
Diffstat (limited to 'sys-fs/udev')
-rw-r--r-- | sys-fs/udev/files/udev-start-089.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-fs/udev/files/udev-start-089.sh b/sys-fs/udev/files/udev-start-089.sh index e571b9bb69dc..4e868677e7f8 100644 --- a/sys-fs/udev/files/udev-start-089.sh +++ b/sys-fs/udev/files/udev-start-089.sh @@ -79,7 +79,9 @@ seed_dev() { ebegin "Seeding /dev with needed nodes" # copy over any persistant things - cp --preserve=all --recursive --update /lib/udev/devices/* /dev + if [[ -d /lib/udev/devices ]] ; then + cp --preserve=all --recursive --update /lib/udev/devices/* /dev + fi # Not provided by sysfs but needed ln -snf /proc/self/fd /dev/fd |