Use prebuilts
This commit is contained in:
@@ -51,6 +51,12 @@ ram.runtime = "50M"
|
|||||||
autoupdate.strategy = "latest_github_tag"
|
autoupdate.strategy = "latest_github_tag"
|
||||||
autoupdate.asset = "tarball"
|
autoupdate.asset = "tarball"
|
||||||
autoupdate.needs_manual_tweaks = true
|
autoupdate.needs_manual_tweaks = true
|
||||||
|
prefetch = false
|
||||||
|
|
||||||
|
[resources.sources.prebuilt]
|
||||||
|
url = "https://download.technitium.com/dns/archive/15.2.0/DnsServerPortable.tar.gz"
|
||||||
|
sha256 = "2e39fb8d0718475790cc025e083a1bcfd837a5e79e4a1d0ed775881bd90287ef"
|
||||||
|
in_subdir = false
|
||||||
|
|
||||||
[resources.sources.dotnet]
|
[resources.sources.dotnet]
|
||||||
amd64.url = "https://builds.dotnet.microsoft.com/dotnet/Runtime/10.0.7/dotnet-runtime-10.0.7-linux-x64.tar.gz"
|
amd64.url = "https://builds.dotnet.microsoft.com/dotnet/Runtime/10.0.7/dotnet-runtime-10.0.7-linux-x64.tar.gz"
|
||||||
|
|||||||
+1
-1
@@ -12,7 +12,7 @@ source /usr/share/yunohost/helpers
|
|||||||
ynh_script_progression "Setting up source files..."
|
ynh_script_progression "Setting up source files..."
|
||||||
|
|
||||||
# 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 --dest_dir="$install_dir/sources"
|
ynh_setup_source --source_id="prebuilt" --dest_dir="$install_dir/sources"
|
||||||
ynh_setup_source --source_id="dotnet" --dest_dir="$install_dir/dotnet"
|
ynh_setup_source --source_id="dotnet" --dest_dir="$install_dir/dotnet"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|||||||
+1
-1
@@ -30,7 +30,7 @@ fi
|
|||||||
ynh_script_progression "Upgrading source files..."
|
ynh_script_progression "Upgrading source files..."
|
||||||
|
|
||||||
# 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 --dest_dir="$install_dir/sources" --full_replace
|
ynh_setup_source --source_id="prebuilt" --dest_dir="$install_dir/sources" --full_replace
|
||||||
ynh_setup_source --source_id="dotnet" --dest_dir="$install_dir/dotnet" --full_replace
|
ynh_setup_source --source_id="dotnet" --dest_dir="$install_dir/dotnet" --full_replace
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|||||||
Reference in New Issue
Block a user