fix: package upgrades no longer ask the configuration questions.
Release / release (push) Successful in 18s

This commit is contained in:
slawek committed 2026-10-24 02:16:19 +02:00
1 parent cda33fc4c7
commit f135d776f8
3 files changed
+17 -2

No files matched your search

+6
View File
@@ -2,6 +2,12 @@
set -e
. /usr/share/debconf/confmodule
# An upgrade (configure with the old version) asks nothing; vpn-router.json holds the
# configuration, and dpkg-reconfigure asks the questions again.
if [ "$1" = "configure" ] && [ -n "$2" ]; then
exit 0
fi
# Every question has a default, so a non-interactive install with nothing
# preseeded completes without prompting. The defaults are platform "none" and
# mode "manual", which together mean: install the files, configure nothing.