Files
openfreemap/ssh_lib/rclone.py
Zsolt Ero a49d276c6e work
2023-12-27 02:21:02 +01:00

10 lines
210 B
Python

from ssh_lib.utils import apt_get_update, exists
def install_rclone(c):
if exists(c, '/usr/bin/rclone'):
return
apt_get_update(c)
c.sudo('curl https://rclone.org/install.sh | sudo bash')