Change how to install `rclone` to guarantee idempotency.
This commit is contained in:
parent
706353723a
commit
bb93ae33f4
|
@ -32,6 +32,7 @@ if result.exit_status != 0
|
|||
|
||||
# Install:
|
||||
execute "unzip -d /opt/ -o #{TMP}"
|
||||
execute 'rm -rf /opt/rclone'
|
||||
execute "mv /opt/#{rclone_dir} /opt/rclone"
|
||||
|
||||
# Change Owner and Permissions:
|
||||
|
|
Loading…
Reference in New Issue