Patrick Schleizer 2025-09-19 11:29:55 -04:00
parent 41ba668d23
commit c2594a022e
No known key found for this signature in database
GPG key ID: CB8D50BB77BB3C48
4 changed files with 10 additions and 10 deletions

View file

@ -12,7 +12,7 @@ source /usr/share/debconf/confmodule
set -e
## Not set by DPKG for '.config' script.
DPKG_MAINTSCRIPT_PACKAGE="security-misc"
DPKG_MAINTSCRIPT_PACKAGE="security-misc-shared"
DPKG_MAINTSCRIPT_NAME="config"
true "
@ -113,7 +113,7 @@ check_migrate_permission_hardener_state() {
'/etc/permission-hardener.d/30_default.conf'
)
pkg_list=( "security-misc" )
pkg_list=( "security-misc-shared" )
if pkg_installed user-sysmaint-split ; then
pkg_list+=( "user-sysmaint-split" )
fi
@ -163,7 +163,7 @@ check_migrate_permission_hardener_state() {
done
## db_input will return code 30 if the message won't be displayed, which
## causes a non-interactive install to error out if you don't use || true
db_input critical security-misc/alert-on-permission-hardener-v2-upgrade || true
db_input critical security-misc-shared/alert-on-permission-hardener-v2-upgrade || true
## db_go can return code 30 too in some instances, we don't care here
# shellcheck disable=SC2119
db_go || true