We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f0aab49 + d23134b commit eacb423Copy full SHA for eacb423
install_files/securedrop-config/DEBIAN/postinst
@@ -4,6 +4,10 @@
4
set -e
5
set -x
6
7
+disable_upgrade_prompt() {
8
+ # Disable do-release-upgrade notification
9
+ sed -i 's/Prompt=.*/Prompt=never/' /etc/update-manager/release-upgrades || true
10
+}
11
remove_2fa_tty_req() {
12
# The goal here is to remove legacy 2FA req on TTY logins
13
# Lets prevent this from bombing out the install though if it fails
@@ -23,6 +27,7 @@ case "$1" in
23
27
sed -i 's/deb\.torproject\.org\/torproject\.org/tor-apt.freedom.press/g' "$apt_security_list"
24
28
fi
25
29
remove_2fa_tty_req
30
+ disable_upgrade_prompt
26
31
;;
32
33
abort-upgrade|abort-remove|abort-deconfigure)
0 commit comments