mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Attempt to make postgresql not send an email about the 9.4->9.6 migration
This commit is contained in:
parent
2adc80f8db
commit
3681e6adfc
1 changed files with 2 additions and 0 deletions
|
@ -228,6 +228,8 @@ class MyMigration(Migration):
|
||||||
|
|
||||||
# Make apt-get happy
|
# Make apt-get happy
|
||||||
os.system("echo 'libc6 libraries/restart-without-asking boolean true' | debconf-set-selections")
|
os.system("echo 'libc6 libraries/restart-without-asking boolean true' | debconf-set-selections")
|
||||||
|
# Don't send an email to root about the postgresql migration. It should be handled automatically after.
|
||||||
|
os.system("echo 'postgresql-common postgresql-common/obsolete-major seen true' | debconf-set-selections")
|
||||||
|
|
||||||
command = ""
|
command = ""
|
||||||
command += " DEBIAN_FRONTEND=noninteractive"
|
command += " DEBIAN_FRONTEND=noninteractive"
|
||||||
|
|
Loading…
Add table
Reference in a new issue