summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/baselayout/baselayout-1.8.6.12-r4.ebuild')
-rw-r--r--sys-apps/baselayout/baselayout-1.8.6.12-r4.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys-apps/baselayout/baselayout-1.8.6.12-r4.ebuild b/sys-apps/baselayout/baselayout-1.8.6.12-r4.ebuild
index 561585ffe00d..8122bd13ea0e 100644
--- a/sys-apps/baselayout/baselayout-1.8.6.12-r4.ebuild
+++ b/sys-apps/baselayout/baselayout-1.8.6.12-r4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-1.8.6.12-r4.ebuild,v 1.5 2004/01/26 17:51:12 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-1.8.6.12-r4.ebuild,v 1.6 2004/02/01 22:01:11 brad_mssw Exp $
# This ebuild needs to be merged "live". You can't simply make a package
# of it and merge it later.
@@ -568,8 +568,9 @@ pkg_postinst() {
if [ -n "$(use build)" -o -n "$(use bootstrap)" ]
then
einfo "Populating /dev with device nodes..."
+ [ ! -e "${ROOT}/dev" ] && mkdir -p "${ROOT}/dev"
tar -jxpf "${ROOT}/lib/udev-state/devices.tar.bz2" \
- -C "${ROOT}/dev"
+ -C "${ROOT}/dev" || die
fi
fi