mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
zoph, wordpress: Add conflicts on libpam-tmpdir
Closes: #2239. - Adding Conflicts in freedombox Debian package seems to cause unattended-upgrade to not upgrade the package to next version. This approach seems be an alternative. Tests: - Install libpam-tmpdir. Go to Zoph page, see that conflicts messages is shown. Install succeeds. libpam-tmpdir is removed. - Install libpam-tmpdir. Go to WordPress page, see that conflicts messages is shown. Install succeeds. libpam-tmpdir is removed. - Remove libpam-tmpdir. Go to Zoph page, see that conflicts message is not shown. Install succeeds. - Remove libpam-tmpdir. Go to WordPress page, see that conflicts message is not shown. Install succeeds. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
0b9d567493
commit
b056f5829c
2 files changed
+6
-2
No files matched your search
@@ -81,7 +81,9 @@ class WordPressApp(app_module.App):
|
||||
'php-zip',
|
||||
# WordPress only supports MySQL/MariaDB as DB
|
||||
'default-mysql-server',
|
||||
])
|
||||
],
|
||||
conflicts=['libpam-tmpdir'],
|
||||
conflicts_action=Packages.ConflictsAction.REMOVE)
|
||||
self.add(packages)
|
||||
|
||||
firewall = Firewall('firewall-wordpress', info.name,
|
||||
|
||||
Reference in new issue
Block a user