install.fairie/home/.chezmoiscripts/universal/run_onchange_after_50-rclone.tmpl
Brian Zalewski 9037474d22 Update 29 files
- /system/Applications/Firefox.app/Contents/Resources/distribution/policies.json
- /system/etc/cups/cupsd.conf
- /system/etc/cups/modify_cupsd.conf
- /system/etc/fonts/local.conf
- /system/etc/grub.d/31-hold-shift
- /system/etc/opt/chrome/policies/managed/policies.json
- /system/etc/qubes/repo-templates/qubes-templates.repo
- /system/etc/yum.repos.d/qubes-dom0.repo
- /system/etc/timeshift/timeshift.json
- /system/usr/lib/firefox-esr/distribution/policies.json
- /system/usr/lib/firefox/distribution/policies.json
- /system/var/cache/rclone/remove_dot_gitkeep
- /system/mnt/private_r2-docker/remove_dot_gitkeep
- /system/etc/sddm.conf
- /home/.chezmoiscripts/universal/run_onchange_after_57-netdata.tmpl
- /home/.chezmoiscripts/universal/run_onchange_after_20-font.tmpl
- /home/.chezmoiscripts/universal/run_onchange_after_14-timeshift.tmpl
- /home/.chezmoiscripts/universal/run_onchange_after_50-rclone.tmpl
- /home/.chezmoiscripts/qubes/run_onchange_before_12-update-dom0.tmpl
- /home/dot_config/rclone/merge_rclone.conf
- /home/dot_config/cups/cupsd.conf
- /home/dot_config/qubes/qubes-templates.repo
- /home/dot_config/qubes/qubes-dom0.repo
- /home/dot_config/timeshift/timeshift.json
- /home/Cloud/Private/remove_dot_gitkeep
- /home/Cloud/Public/remove_dot_gitkeep
- /home/dot_local/share/firefox/distribution/policies.json
- /home/dot_local/bin/executable_rclone-mount
- /home/dot_local/grub.d/31-hold-shift
2023-01-29 06:07:01 +00:00

25 lines
676 B
Cheetah

{{- if ne .host.distro.family "windows" -}}
#!/usr/bin/env bash
{{ includeTemplate "universal/profile" }}
{{ includeTemplate "universal/logg" }}
if rclone -v rclone > /dev/null; then
logg info 'Ensuring /var/cache/rclone exists'
sudo mkdir -p /var/cache/rclone
sudo chmod 700 /var/cache/rclone
logg info 'Ensuring /mnt/s3-docker exists'
sudo mkdir -p /mnt/s3-docker
sudo chmod 700 /mnt/s3-docker
logg info 'Adding ~/.local/bin/rclone-mount to /usr/local/bin'
sudo cp -f "$HOME/.local/bin/rclone-mount" /usr/local/bin/rclone-mount
sudo chmod +x /usr/local/bin/rclone-mount
else
logg info '`rclone` is not available'
fi
{{ end -}}