On 3/20/07, John E. Rose <[EMAIL PROTECTED]> wrote:
> 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:
>

Great job tracking this down.  Perfect bug report!  Comparing
RemoveProgram and SymlinkProgram the Cache file code is different.
Duplicating code like that isn't good because it causes bugs just like
this.  I'll move the version from SymlinkProgram into a Gen_Env_Cache
function in Functions/GoboLinux.  Also, DisableProgram doesn't rebuild
the cache either.  That's probably a bug.


-- 
Carlo J. Calica
_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to