1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/restic_ynh.git synced 2024-09-03 20:16:22 +02:00
This commit is contained in:
Jérémie Parisel 2024-08-18 12:20:36 +02:00 committed by GitHub
commit d839784be4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 1 deletions

View file

@ -124,7 +124,7 @@ ram.runtime = "50M"
armhf.sha256 = "60376b01b334a0cee3a59016f44dde8b336de2b6aa44f1e6e403d307990c47a0"
in_subdir = false
rename = "restic"
rename = "restic.bz2"
[resources.system_user]

View file

@ -20,6 +20,7 @@ ynh_app_setting_set --app=$app --key=passphrase --value="$passphrase"
ynh_script_progression --message="Installing Restic..." --weight=7
ynh_setup_source --source_id=main --dest_dir="$install_dir"
bunzip2 -d -f /var/www/restic/restic.bz2
chmod +x "$install_dir/restic"
_gen_and_save_public_key

View file

@ -56,6 +56,7 @@ fi
ynh_script_progression --message="Installing Restic..." --weight=7
ynh_setup_source --source_id=main --dest_dir="$install_dir"
bunzip2 -d -f /var/www/restic/restic.bz2
chmod +x "$install_dir/restic"
# This function will only create it if required