mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
zoph: Don't fail while uninstalling
Fixes: https://discuss.freedombox.org/t/solved-zoph-uninstall-failure/3431 There is a debconf question being asked about remove the uploaded files while uninstalling the package. If it is not answered, removal fails. So, answer the question during installation. Re-run setup so that answer is set. Tests: - In Bookworm and Trixie, install the app, upload an image and uninstall it. Uninstall is successful and directory /var/lib/zoph does not exist. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
6cdab95049
commit
f7d289bcd6
@ -44,7 +44,7 @@ class ZophApp(app_module.App):
|
||||
|
||||
app_id = 'zoph'
|
||||
|
||||
_version = 2
|
||||
_version = 3
|
||||
|
||||
configure_when_disabled = False
|
||||
|
||||
|
||||
@ -23,6 +23,7 @@ def pre_install():
|
||||
'zoph zoph/dbconfig-upgrade boolean true',
|
||||
'zoph zoph/dbconfig-remove boolean true',
|
||||
'zoph zoph/mysql/admin-user string root',
|
||||
'zoph zoph/rm_images select yes',
|
||||
])
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user