On Friday, October 30, 2020 at 10:08:01 AM UTC-4, [email protected] wrote:
>
> Upgraded from 4.1.1 to 4.2.0 with no issues at all using DEB package. 
> During install, my *current.inc* was different along with *weewx.conf* 
> (which of course I expected since I've modified both of those files). I 
> choose the default of "N" to keep my modified version but if I would've 
> selected "Y" for both of those files would my modification to those files 
> carry over to the new ones? Or does it override with the new files and my 
> modifications are lost?


the debian installer prompts you for each 'configuration' file that you 
have modified.  in the context of the debian (or redhat) installer, a 
'configuration' file includes the weewx skin files in the weewx 
distribution, not just the weewx.conf file.  any skins that you add are not 
known by the installer (but the installer *does* know they exist, so it 
will not delete them).

so for the file 'current.inc', when you choose 'N', the installer will use 
your file as 'current.inc' and it will place another file next to it called 
'current.inc.dpkg-new' that contains the distribution contents, i.e., the 
'current.inc' as it comes from the 4.2.0 release.

similarly, if you choose 'Y', the installer will use the distribution 
contents for 'current.inc' and it will place another file next to it called 
'current.inc.dpkg-old' that contains your 'current.inc' contents.

so whichever option you choose, you can compare with the option you did not 
choose.

the redhat and suse installers do this too, but it does not prompt - it 
just keeps your changes and installs the new file as 'current.inc.rpmnew'

m

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/cb76c627-f294-4da3-b941-64fd7a9018f7o%40googlegroups.com.

Reply via email to