mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Also patch php5 app when calling remove
This commit is contained in:
parent
3955aee5ca
commit
cc4a2f2f2e
1 changed files with 4 additions and 0 deletions
|
@ -843,6 +843,10 @@ def app_remove(auth, app):
|
|||
except:
|
||||
pass
|
||||
|
||||
# Apply dirty patch to make php5 apps compatible with php7 (e.g. the remove
|
||||
# script might date back from jessie install)
|
||||
_patch_php5(app_setting_path)
|
||||
|
||||
os.system('cp -a %s /tmp/yunohost_remove && chown -hR admin: /tmp/yunohost_remove' % app_setting_path)
|
||||
os.system('chown -R admin: /tmp/yunohost_remove')
|
||||
os.system('chmod -R u+rX /tmp/yunohost_remove')
|
||||
|
|
Loading…
Add table
Reference in a new issue