Update file run_onchange_after_07-docker-plugins.tmpl
This commit is contained in:
parent
e602f32170
commit
3254eb0f87
1 changed files with 1 additions and 2 deletions
|
@ -27,10 +27,9 @@ if [ ! -d /var/lib/docker-plugins/rclone/cache ]; then
|
|||
logg info 'Creating directory /var/lib/docker-plugins/rclone/cache'
|
||||
sudo mkdir -p /var/lib/docker-plugins/rclone/cache
|
||||
fi
|
||||
sudo cp -f "${XDG_CONFIG_HOME:-$HOME/.config}/rclone/docker-rclone.conf /var/lib/docker-plugins/rclone/config/rclone.conf
|
||||
sudo cp -f "${XDG_CONFIG_HOME:-$HOME/.config}/rclone/docker-rclone.conf" /var/lib/docker-plugins/rclone/config/rclone.conf
|
||||
if ! sudo su -c 'docker plugin ls' - "$USER" | grep 'rclone:latest' > /dev/null; then
|
||||
sudo su -c 'docker plugin install rclone/docker-volume-rclone:amd64 args="-v" --alias rclone --grant-all-permissions' - "$USER"
|
||||
fi
|
||||
|
||||
|
||||
{{ end -}}
|
||||
|
|
Loading…
Reference in a new issue