|
From: Heiko Z. <hz...@pr...> - 2003-10-13 19:54:46
|
On 10/13/2003 03:43:30 PM Bruce Smith wrote: >> >I've found one thing that is a pain, upgrading to a new version CD,= >> >plus also upgrading the configuration. >> ... >> Check if the file date is "Jan 1 1980", then it's an unmodified file= . > >I played it safe and compared each individual file. > >> I would be very happy if you would get an update script working ! > >It seems to working on my system (not uploaded yet). > >Basically it untars the old etc file and the new etc file into differe= nt >subdirectories, compares every file in old to new, gives you a list of= >which file(s) changed and asks which file(s) you'd like to copy to the= >new directory. Then it tars up a new etc config file. > >I really hated the thought of having to answer y/n for potentially >dozens of files to copy over to the new config (like the old kernel >"make config"), so I wrote it using "dialog", like the setup program. > >This lets you scroll back & forth though the list of changed files and= >check which file(s) to copy. Plus if you press the HELP button on a >particular modified file, it does a "ls -l" on both old/new files, the= n >does a "diff -u" on them, and then does a "less" on both files. > >The disadvantage is you need "dialog" installed on your desktop. Do y= ou >have a problem with that? Most distro's come with dialog (at least >Redhat has come with it for quite a few releases), or the user can >always download and install the dialog package ... You can also add it to DL, so we don't have any requirements outside of= our system. Just change the function you have added earlier (blah wrong version bla= h), by the upgrade utility. cya Heiko = |