1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lxd_ynh.git synced 2024-09-03 19:45:53 +02:00

Rename source as main

This commit is contained in:
Salamandar 2024-07-14 17:37:55 +02:00
parent 738958d24f
commit 09515ae29b
3 changed files with 3 additions and 3 deletions

View file

@ -43,7 +43,7 @@ ram.runtime = "500M"
armhf.url = "https://go.dev/dl/go1.21.5.linux-armv6l.tar.gz" armhf.url = "https://go.dev/dl/go1.21.5.linux-armv6l.tar.gz"
armhf.sha256 = "837f4bf4e22fcdf920ffeaa4abf3d02d1314e03725431065f4d44c46a01b42fe" armhf.sha256 = "837f4bf4e22fcdf920ffeaa4abf3d02d1314e03725431065f4d44c46a01b42fe"
[resources.sources.lxd] [resources.sources.main]
url = "https://github.com/canonical/lxd/releases/download/lxd-5.21.1/lxd-5.21.1.tar.gz" url = "https://github.com/canonical/lxd/releases/download/lxd-5.21.1/lxd-5.21.1.tar.gz"
sha256 = "f148aa7e1fc31f6cef3038e141e9bd03787274ffc506b97376d758abf1a93cb7" sha256 = "f148aa7e1fc31f6cef3038e141e9bd03787274ffc506b97376d758abf1a93cb7"
autoupdate.strategy = "latest_github_release" autoupdate.strategy = "latest_github_release"

View file

@ -16,7 +16,7 @@ ynh_script_progression --message="Setting up source files..." --weight=5
# Download, check integrity, uncompress and patch the source from app.src # Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --source_id="go" --dest_dir="$install_dir/go" ynh_setup_source --source_id="go" --dest_dir="$install_dir/go"
ynh_setup_source --source_id="lxd" --dest_dir="$install_dir/lxd" ynh_setup_source --source_id="main" --dest_dir="$install_dir/lxd"
#================================================= #=================================================
# SPECIFIC SETUP # SPECIFIC SETUP

View file

@ -41,7 +41,7 @@ ynh_setup_source --source_id="go" --dest_dir="$install_dir/go" --full_replace=1
export PATH="$install_dir/go/bin:$PATH" export PATH="$install_dir/go/bin:$PATH"
ynh_setup_source --source_id="lxd" --dest_dir="$install_dir/lxd" --full_replace=1 ynh_setup_source --source_id="main" --dest_dir="$install_dir/lxd" --full_replace=1
export GOPATH="$install_dir/lxd/vendor/" export GOPATH="$install_dir/lxd/vendor/"