mirror of
https://github.com/YunoHost-Apps/restic_ynh.git
synced 2024-09-03 20:16:22 +02:00
Merge 1e333f1c6c
into 6891b390ed
This commit is contained in:
commit
d839784be4
3 changed files with 3 additions and 1 deletions
|
@ -124,7 +124,7 @@ ram.runtime = "50M"
|
|||
armhf.sha256 = "60376b01b334a0cee3a59016f44dde8b336de2b6aa44f1e6e403d307990c47a0"
|
||||
|
||||
in_subdir = false
|
||||
rename = "restic"
|
||||
rename = "restic.bz2"
|
||||
|
||||
[resources.system_user]
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue