Change how to install `rclone` to guarantee idempotency.

This commit is contained in:
Kazuhiro MUSASHI 2020-12-06 11:56:32 +09:00
parent 706353723a
commit bb93ae33f4
1 changed files with 1 additions and 0 deletions

View File

@ -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: