1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/couchpotato_ynh.git synced 2024-09-03 18:16:22 +02:00

Fix yunohost app list

This commit is contained in:
yalh76 2021-05-19 23:10:08 +02:00
parent 4b7970ecf3
commit 34095093d8
2 changed files with 2 additions and 2 deletions

View file

@ -160,7 +160,7 @@ transmission_rpcpassword=""
transmission_watchdir=""
# Check if Transmission is installed
if [[ -z $(yunohost app list -i -f transmission | grep -v 'apps:') ]]; then
if [[ -z $(yunohost app list | grep -q 'id: $transmission') ]]; then
ynh_script_progression --message="Transmission is not installed. Disabling link to CouchPotato..."
rpc="0"

View file

@ -166,7 +166,7 @@ transmission_rpcpassword=""
transmission_watchdir=""
# Check if Transmission is installed
if [[ -z $(yunohost app list -i -f transmission | grep -v 'apps:') ]]; then
if [[ -z $(yunohost app list | grep -q 'id: $transmission') ]]; then
ynh_script_progression --message="Transmission is not installed. Disabling link to CouchPotato..."
rpc="0"