mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-26 02:57:04 +00:00
Check if update-manager release-upgrades configuration file is present before editing (#996)
This commit is contained in:
parent
96b3a29800
commit
c3605f6211
@ -122,8 +122,10 @@ apt_install python3 python3-dev python3-pip \
|
|||||||
# ### Suppress Upgrade Prompts
|
# ### Suppress Upgrade Prompts
|
||||||
# Since Mail-in-a-Box might jump straight to 18.04 LTS, there's no need
|
# Since Mail-in-a-Box might jump straight to 18.04 LTS, there's no need
|
||||||
# to be reminded about 16.04 on every login.
|
# to be reminded about 16.04 on every login.
|
||||||
tools/editconf.py /etc/update-manager/release-upgrades Prompt=never
|
if [ -f /etc/update-manager/release-upgrades ]; then
|
||||||
rm -f /var/lib/ubuntu-release-upgrader/release-upgrade-available
|
tools/editconf.py /etc/update-manager/release-upgrades Prompt=never
|
||||||
|
rm -f /var/lib/ubuntu-release-upgrader/release-upgrade-available
|
||||||
|
fi
|
||||||
|
|
||||||
# ### Set the system timezone
|
# ### Set the system timezone
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user