diff --git a/conf/app.src b/conf/app.src deleted file mode 100644 index 5bda8ec..0000000 --- a/conf/app.src +++ /dev/null @@ -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= diff --git a/scripts/upgrade b/scripts/upgrade index af11b4c..412f897 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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 #=================================================