summaryrefslogtreecommitdiffstats
path: root/scripts/upd-instroot
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2007-12-03 17:06:34 -0500
committerJeremy Katz <katzj@redhat.com>2007-12-03 17:06:34 -0500
commit9dc7efb8cd9bbda13af1c1d68db500c7c8a5f017 (patch)
tree82cfb02a6d8d324e5ebbd04734a796b8fb2142ba /scripts/upd-instroot
parent67dd982d2d5b3a07718b79efaa926c092685c083 (diff)
downloadanaconda-9dc7efb8cd9bbda13af1c1d68db500c7c8a5f017.tar.gz
anaconda-9dc7efb8cd9bbda13af1c1d68db500c7c8a5f017.tar.xz
anaconda-9dc7efb8cd9bbda13af1c1d68db500c7c8a5f017.zip
Put symlinks into second stage also.
This should fix switching to other ttys during the graphical install
Diffstat (limited to 'scripts/upd-instroot')
-rwxr-xr-xscripts/upd-instroot3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index f67c09ecd..34117da80 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -124,7 +124,7 @@ instFile() {
DESTROOT=$2
[ -n "$DEBUG" ] && echo "Installing $FILE"
- if [ -e $DESTROOT/$FILE -o -h $DESTROOT/$FILE ]; then
+ if [ -e $DESTROOT/$FILE -o -L $DESTROOT/$FILE ]; then
return
elif [ ! -d $DESTROOT/`dirname $FILE` ]; then
mkdir -p $DESTROOT/`dirname $FILE`
@@ -182,6 +182,7 @@ expandPackageSet() {
instFile $filespec $PKGDEST
else
for i in `find $filespec -type f` ; do instFile $i $PKGDEST ; done
+ for i in `find $filespec -type l` ; do instFile $i $PKGDEST ; done
fi
done
done