Commit Graph

18 Commits

Author SHA1 Message Date
Matthew Wall
1c805390aa refactor init enable/disable. ensure true for postinst commands. eliminate possible init conflicts, do not just warn about them. 2024-02-19 08:22:50 -05:00
matthew wall
5cb3715e4c move aside any existing /etc/default/weewx so that we avoid python2/python3 problems and ensure a working installation. fixed bug in debian postinst GROUP determination. 2024-02-04 01:52:29 -05:00
matthew wall
96cee34d69 for debian package, prefer /usr/lib but fall back to /lib 2024-01-12 14:28:16 -05:00
matthew wall
f3497d6aa7 provide feedback in postrm. remove unused output from preinst. 2024-01-11 08:02:36 -05:00
Matthew Wall
2d5e8d1829 no need for cat before sed 2024-01-07 09:04:37 -05:00
Matthew Wall
6a2adcd715 ignore output from systemctl. use global instead of define for rpm macros. 2024-01-06 15:52:47 -05:00
matthew wall
f39cc11306 happy new year! 2024-01-02 08:45:27 -05:00
Matthew Wall
0367c167a9 as per debian guidelines, put the daemon stop in prerm, but the daemon removal in postrm. ensure that both systemd and sysv work on debian systems, for both deb and pip installs. try to keep lintian happy, but it seems to have differences between deb10 and deb12. 2024-01-01 21:48:55 -05:00
matthew wall
ce69c0ab77 do the init shutdown and disable in prerm instead of postrm 2023-12-04 10:15:13 -05:00
Matthew Wall
63fcc03bb4 enable/disable the systemd template 2023-12-03 22:20:40 -05:00
matthew wall
b9b828402d eliminate init.d references (for now). parameterize the weewx user labels and permissions. 2023-11-23 08:35:05 -05:00
Thorsten Alteholz
f06cbfc54b debhelper needs to add some stuff at the end 2018-07-07 16:22:48 +02:00
Thorsten Alteholz
b799660ac5 in case a script is run by hand via 'sh /path/to/script', the -e in the first line will not be in effect, so it is better to set -e in the body of the script. (lintian complains about that as well) 2018-07-07 16:13:45 +02:00
Matthew Wall
554ba29723 eliminate svn:keywords Id 2015-03-08 11:03:39 -04:00
Matthew Wall
e30ed370bb fixed bug in wmr9x8 template. added ability to merge weewx.conf for debian installs. 2013-04-01 21:57:11 +00:00
Matthew Wall
2531b4415f fix postrm so deb packages work on ubuntu as well as debian 2013-02-10 02:20:05 +00:00
Matthew Wall
2e7a3cc238 on debian use /var/www/weewx; on redhat use /var/www/html/weewx 2013-02-03 00:22:12 +00:00
Matthew Wall
9170a8fa98 merge packaging branch to trunk 2013-01-28 18:23:05 +00:00