> 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.Thanks for testing. > 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. Yes, it is a work in progress, and putting it into snaps is a good test ;) > 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. Right. Next snap will have that fixed, and we'll see what else people run into. The goal is that the install scripts should stop cd'ing all over the place -- that is a dangerous practice. If it must cd, it should try to do it in a subshell (for small tasks, otherwise they become hard to debug), otherwise it is also better to use absolute paths to /tmp (the usual culprit).
