2011-Jan-01 install script bug

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: patrick keshishian
Date: Sunday, January 2, 2011 - 1:45 pm

Hiya,

I just attempted to install (not upgrade) macppc snapshot from
2011-01-01 and noticed after the installation that none of
/etc/{hosts,hostname.gem0,mygate} were saved.

I thought maybe something went screwy during installation and I didn't
pay attention to the installation output, so I started the
installation all over again paying closer attention. At the end of
installation, instead of restarting I looked at /mnt/hosts and saw
that it was not updated; only contained the 127.0.0.1 and ::1 entries.

Looking at the install script it seems to be a different version that
what is in the cvs repository. Specifically, the part

( cd /tmp
hostname >myname

has changed to:

hostname >/tmp/myname

So the "cd /tmp" is no longer performed. and so the bit that does:

 for _f in fstab hostname* kbdtype my* ttys *.conf *.tail ; do
	[[ -f /tmp$_f && -s /tmp/$_f ]] && mv tmp/$_f /mnt/etc.
done

fails partly, because, the shell expansions fail.

--patrick
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
2011-Jan-01 install script bug, patrick keshishian, (Sun Jan 2, 1:45 pm)