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

@ -1 +1 @@
[type: gettext/rfc822deb] security-misc.templates [type: gettext/rfc822deb] security-misc-shared.templates

View file

@ -1,13 +1,13 @@
# SOME DESCRIPTIVE TITLE. # SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the security-misc package. # This file is distributed under the same license as the security-misc-shared package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
# #
#, fuzzy #, fuzzy
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: security-misc\n" "Project-Id-Version: security-misc-shared\n"
"Report-Msgid-Bugs-To: security-misc@packages.debian.org\n" "Report-Msgid-Bugs-To: security-misc-shared@packages.debian.org\n"
"POT-Creation-Date: 2025-01-14 09:31-0500\n" "POT-Creation-Date: 2025-01-14 09:31-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
@ -19,13 +19,13 @@ msgstr ""
#. Type: note #. Type: note
#. Description #. Description
#: ../security-misc.templates:1001 #: ../security-misc-shared.templates:1001
msgid "Manual intervention may be required for permission-hardener update" msgid "Manual intervention may be required for permission-hardener update"
msgstr "" msgstr ""
#. Type: note #. Type: note
#. Description #. Description
#: ../security-misc.templates:1001 #: ../security-misc-shared.templates:1001
msgid "" msgid ""
"No need to panic. Nothing is broken. A rare condition has been encountered. " "No need to panic. Nothing is broken. A rare condition has been encountered. "
"permission-hardener is being updated to fix a minor bug that caused " "permission-hardener is being updated to fix a minor bug that caused "

View file

@ -12,7 +12,7 @@ source /usr/share/debconf/confmodule
set -e set -e
## Not set by DPKG for '.config' script. ## Not set by DPKG for '.config' script.
DPKG_MAINTSCRIPT_PACKAGE="security-misc" DPKG_MAINTSCRIPT_PACKAGE="security-misc-shared"
DPKG_MAINTSCRIPT_NAME="config" DPKG_MAINTSCRIPT_NAME="config"
true " true "
@ -113,7 +113,7 @@ check_migrate_permission_hardener_state() {
'/etc/permission-hardener.d/30_default.conf' '/etc/permission-hardener.d/30_default.conf'
) )
pkg_list=( "security-misc" ) pkg_list=( "security-misc-shared" )
if pkg_installed user-sysmaint-split ; then if pkg_installed user-sysmaint-split ; then
pkg_list+=( "user-sysmaint-split" ) pkg_list+=( "user-sysmaint-split" )
fi fi
@ -163,7 +163,7 @@ check_migrate_permission_hardener_state() {
done done
## db_input will return code 30 if the message won't be displayed, which ## 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 ## 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 ## db_go can return code 30 too in some instances, we don't care here
# shellcheck disable=SC2119 # shellcheck disable=SC2119
db_go || true db_go || true

View file

@ -1,4 +1,4 @@
Template: security-misc/alert-on-permission-hardener-v2-upgrade Template: security-misc-shared/alert-on-permission-hardener-v2-upgrade
Type: note Type: note
_Description: Manual intervention may be required for permission-hardener update _Description: Manual intervention may be required for permission-hardener update
No need to panic. Nothing is broken. A rare condition has been encountered. No need to panic. Nothing is broken. A rare condition has been encountered.