1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wireguard_ynh.git synced 2024-09-03 20:35:58 +02:00

fix(level 3): use the right src file

This commit is contained in:
tytan652 2020-12-30 15:23:24 +01:00 committed by tituspijean
parent 8dea863026
commit 6af8da90dc
2 changed files with 1 additions and 11 deletions

View file

@ -1,6 +0,0 @@
SOURCE_URL=https://github.com/ngoduykhanh/wireguard-ui/releases/download/v0.2.5/wireguard-ui-v0.2.5-linux-amd64.tar.gz
SOURCE_SUM=BEB3B73E173B115B355F83DFE2D7E6AA2125D692E389319930ABBFA215F1657B
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=false
SOURCE_FILENAME=

View file

@ -79,10 +79,6 @@ ynh_systemd_action --service_name=wireguard_ui --action="stop" --log_path="/var/
systemctl disable --now --quiet wireguard.path
ynh_systemd_action --service_name=wireguard --action="stop"
ynh_remove_systemd_config --service=wireguard_ui
ynh_secure_remove --file="/etc/systemd/system/wireguard.path"
ynh_remove_systemd_config --service=wireguard
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================
@ -92,7 +88,7 @@ then
ynh_script_progression --message="Upgrading source files..." --time --weight=1
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path"
ynh_setup_source --dest_dir="$final_path" --source_id="$(ynh_detect_arch)"
fi
#=================================================