mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Remove default redirection if needed
This commit is contained in:
parent
252928717d
commit
21b192440b
1 changed files with 3 additions and 0 deletions
|
@ -601,6 +601,9 @@ def app_remove(auth, app):
|
|||
|
||||
app_setting_path = apps_setting_path + app
|
||||
|
||||
if app_checkdefault(auth,app):
|
||||
app_removedefault(auth, app)
|
||||
|
||||
#TODO: display fail messages from script
|
||||
try:
|
||||
shutil.rmtree('/tmp/yunohost_remove')
|
||||
|
|
Loading…
Add table
Reference in a new issue