mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Typo: grep doesn't like args starting with dashes
This commit is contained in:
parent
b0f756b1a8
commit
7aa840a956
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ class MyMigration(Migration):
|
|||
cmd += " APT_LISTCHANGES_FRONTEND=none"
|
||||
cmd += " apt dist-upgrade "
|
||||
cmd += " --quiet -o=Dpkg::Use-Pty=0 --fix-broken --dry-run"
|
||||
cmd += " | grep -q '-ynh-deps'"
|
||||
cmd += " | grep -q 'ynh-deps'"
|
||||
|
||||
logger.info("Simulating upgrade...")
|
||||
if os.system(cmd) == 0:
|
||||
|
|
Loading…
Add table
Reference in a new issue