I have upgraded several packages recently, and I used RemoveProgram to get rid
of some of the old versions. I hadn't rebooted for a while, until I was forced
to by a blackout last night. When I started up after power returned, I though
my machine got fried in the blackout. But I was able to start from a CD and
track down the problem. The top of my original /System/Links/Environment/Cache
file before using RemoveProgram had these lines:
unset unsetvars
[ ! "$goboSettings" ] && unsetvars=true
and the group of "unset" commands at the bottom was surrounded by:
if [ "$unsetvars" ]
then
...
fi
However, these commands are missing the Cache file after RemoveProgram is run.
This caused a problem in BootDriver, which has these commands near the top:
source GoboPath
BootScriptsDir=/Programs/BootScripts/Current/
source ${goboSettings}/BootOptions
source ${BootScriptsDir}/Functions/BootScripts
source ${goboEnvironment}/Cache
The un-"if"-ed "unset" commands in the Cache file unset the variables set by
the "source GoboPath" command, so BootDriver gets quite confused. It seems to
me that either RemoveProgram needs to add the missing lines back to Cache, or
BootDriver needs to remove the "source ... Cache" command, if it can get away
with it.
BootScripts is version 2.1.0
Scripts is version 2.6.3
_______________________________________________
gobolinux-devel mailing list
[email protected]
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel