mirror of
https://github.com/Febbweiss/rclone_script.git
synced 2026-03-04 14:15:38 +00:00
Changed -l to --long to address issue with rclone not printing remote types.
This commit is contained in:
@@ -107,7 +107,7 @@ function dialogShowProgress ()
|
|||||||
function dialogShowSummary ()
|
function dialogShowSummary ()
|
||||||
{
|
{
|
||||||
# list all remotes and their type
|
# list all remotes and their type
|
||||||
remotes=$(rclone listremotes -l)
|
remotes=$(rclone listremotes --long)
|
||||||
|
|
||||||
# get line with RETROPIE remote
|
# get line with RETROPIE remote
|
||||||
retval=$(grep -i "^retropie:" <<< ${remotes})
|
retval=$(grep -i "^retropie:" <<< ${remotes})
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ function log ()
|
|||||||
function getTypeOfRemote ()
|
function getTypeOfRemote ()
|
||||||
{
|
{
|
||||||
# list all remotes and their type
|
# list all remotes and their type
|
||||||
remotes=$(rclone listremotes -l)
|
remotes=$(rclone listremotes --long)
|
||||||
|
|
||||||
# get line wiht RETROPIE remote
|
# get line wiht RETROPIE remote
|
||||||
retval=$(grep -i "^retropie:" <<< ${remotes})
|
retval=$(grep -i "^retropie:" <<< ${remotes})
|
||||||
|
|||||||
@@ -210,7 +210,7 @@ function uninstaller ()
|
|||||||
function saveRemote ()
|
function saveRemote ()
|
||||||
{
|
{
|
||||||
# list all remotes and their type
|
# list all remotes and their type
|
||||||
remotes=$(rclone listremotes -l)
|
remotes=$(rclone listremotes --long)
|
||||||
|
|
||||||
# get line with RETROPIE remote
|
# get line with RETROPIE remote
|
||||||
retval=$(grep -i "^retropie:" <<< ${remotes})
|
retval=$(grep -i "^retropie:" <<< ${remotes})
|
||||||
|
|||||||
@@ -142,7 +142,7 @@ function prepareFilter ()
|
|||||||
function getTypeOfRemote ()
|
function getTypeOfRemote ()
|
||||||
{
|
{
|
||||||
# list all remotes and their type
|
# list all remotes and their type
|
||||||
remotes=$(rclone listremotes -l)
|
remotes=$(rclone listremotes --long)
|
||||||
|
|
||||||
# get line with RETROPIE remote
|
# get line with RETROPIE remote
|
||||||
retval=$(grep -i "^retropie:" <<< ${remotes})
|
retval=$(grep -i "^retropie:" <<< ${remotes})
|
||||||
|
|||||||
Reference in New Issue
Block a user