From 6c50e40614c64f4bb7f8611ee6674a79540cd02e Mon Sep 17 00:00:00 2001 From: Eric Ostrowski Date: Wed, 13 Mar 2019 00:16:43 -0500 Subject: [PATCH] Changed -l to --long to address issue with rclone not printing remote types. --- rclone_script-install.sh | 2 +- rclone_script-menu.sh | 2 +- rclone_script-uninstall.sh | 2 +- rclone_script.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rclone_script-install.sh b/rclone_script-install.sh index 024ef64..68cb183 100644 --- a/rclone_script-install.sh +++ b/rclone_script-install.sh @@ -107,7 +107,7 @@ function dialogShowProgress () function dialogShowSummary () { # list all remotes and their type - remotes=$(rclone listremotes -l) + remotes=$(rclone listremotes --long) # get line with RETROPIE remote retval=$(grep -i "^retropie:" <<< ${remotes}) diff --git a/rclone_script-menu.sh b/rclone_script-menu.sh index 04cc721..0f72013 100644 --- a/rclone_script-menu.sh +++ b/rclone_script-menu.sh @@ -36,7 +36,7 @@ function log () function getTypeOfRemote () { # list all remotes and their type - remotes=$(rclone listremotes -l) + remotes=$(rclone listremotes --long) # get line wiht RETROPIE remote retval=$(grep -i "^retropie:" <<< ${remotes}) diff --git a/rclone_script-uninstall.sh b/rclone_script-uninstall.sh index f8d1361..78a070b 100644 --- a/rclone_script-uninstall.sh +++ b/rclone_script-uninstall.sh @@ -210,7 +210,7 @@ function uninstaller () function saveRemote () { # list all remotes and their type - remotes=$(rclone listremotes -l) + remotes=$(rclone listremotes --long) # get line with RETROPIE remote retval=$(grep -i "^retropie:" <<< ${remotes}) diff --git a/rclone_script.sh b/rclone_script.sh index 520400a..26e9cf1 100644 --- a/rclone_script.sh +++ b/rclone_script.sh @@ -142,7 +142,7 @@ function prepareFilter () function getTypeOfRemote () { # list all remotes and their type - remotes=$(rclone listremotes -l) + remotes=$(rclone listremotes --long) # get line with RETROPIE remote retval=$(grep -i "^retropie:" <<< ${remotes})