From 9fca45e4de7c9cb2a58d7659c6a5c26655007fe5 Mon Sep 17 00:00:00 2001 From: Marcus Furlong Date: Wed, 27 May 2026 22:40:52 -0400 Subject: [PATCH] fix tz and local_settings getting overwritten --- debian/python3-patchman.conffiles | 1 + patchman/settings.py | 2 +- scripts/rpm-install.sh | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 debian/python3-patchman.conffiles diff --git a/debian/python3-patchman.conffiles b/debian/python3-patchman.conffiles new file mode 100644 index 000000000..f05a6c32f --- /dev/null +++ b/debian/python3-patchman.conffiles @@ -0,0 +1 @@ +/etc/patchman/local_settings.py diff --git a/patchman/settings.py b/patchman/settings.py index cb86644d1..54b98a6f5 100644 --- a/patchman/settings.py +++ b/patchman/settings.py @@ -65,7 +65,7 @@ # Internationalization LANGUAGE_CODE = 'en-us' -TIME_ZONE = 'America/NewYork' +TIME_ZONE = 'UTC' USE_I18N = True USE_TZ = True diff --git a/scripts/rpm-install.sh b/scripts/rpm-install.sh index 73b62783e..f47f63be4 100644 --- a/scripts/rpm-install.sh +++ b/scripts/rpm-install.sh @@ -19,4 +19,4 @@ for i in `cat INSTALLED_FILES`; do done cat DIRS > INSTALLED_FILES -sed -e '/\/etc\//s|^|%config(noreplace) |' FILES >>INSTALLED_FILES +sed -e '/\/etc\//s|^|%config |' FILES >>INSTALLED_FILES