Kaynağa Gözat

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

Eric Ostrowski 6 yıl önce
ebeveyn
işleme
6c50e40614

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