mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
More accurate greps to identify that sury packages are installed
This commit is contained in:
parent
077e5c463c
commit
0e3a131095
1 changed files with 2 additions and 2 deletions
|
@ -226,8 +226,8 @@ ynh_install_app_dependencies () {
|
|||
# If we require to install php dependency
|
||||
if echo $dependencies | grep -q 'php';
|
||||
then
|
||||
# And we have packages from sury installed (7.0.33-10+weirdshiftafter instead of 7.0.33+1 on debian)
|
||||
if dpkg --list | grep php | grep -q "7.0.33-10"
|
||||
# And we have packages from sury installed (7.0.33-10+weirdshiftafter instead of 7.0.33-0 on debian)
|
||||
if dpkg --list | grep "php7.0" | grep -q -v "7.0.33-0+deb9u5"
|
||||
then
|
||||
# And sury ain't already installed
|
||||
if ! grep -nrq "sury" /etc/apt/sources.list*
|
||||
|
|
Loading…
Add table
Reference in a new issue