From 9dc7efb8cd9bbda13af1c1d68db500c7c8a5f017 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Mon, 3 Dec 2007 17:06:34 -0500 Subject: Put symlinks into second stage also. This should fix switching to other ttys during the graphical install --- scripts/upd-instroot | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts') 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 -- cgit