mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Annnnd our legacy app is using restore_dir in restore script...
This commit is contained in:
parent
b0accd506e
commit
25ed25e6e9
1 changed files with 7 additions and 0 deletions
|
@ -3153,6 +3153,13 @@ def _patch_legacy_helpers(app_folder):
|
|||
"replace": r"backup_dir=.",
|
||||
"important": True
|
||||
},
|
||||
# Old $1, $2 in backup/restore scripts...
|
||||
"restore_dir=$1": {
|
||||
"only_for": ["scripts/restore"],
|
||||
"pattern": r"restore_dir=\$1",
|
||||
"replace": r"restore_dir=.",
|
||||
"important": True
|
||||
},
|
||||
# Old $1, $2 in install scripts...
|
||||
# We ain't patching that shit because it ain't trivial to patch all args...
|
||||
"domain=$1": {
|
||||
|
|
Loading…
Add table
Reference in a new issue