Browse Source

Changed -l to --long to address issue with rclone not printing remote types.

Eric Ostrowski 6 years ago
parent
commit
6c50e40614
4 changed files with 4 additions and 4 deletions
  1. 1 1
      rclone_script-install.sh
  2. 1 1
      rclone_script-menu.sh
  3. 1 1
      rclone_script-uninstall.sh
  4. 1 1
      rclone_script.sh

+ 1 - 1
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})

+ 1 - 1
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})

+ 1 - 1
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})

+ 1 - 1
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})