From 1404ab52134c4e94860b86c2c7da297da2fe57eb Mon Sep 17 00:00:00 2001 From: hayao Date: Wed, 29 Jul 2020 18:12:32 +0900 Subject: [PATCH] [update] : wget to curl (archiso 45) Removing wget in favor of curl configs/releng/airootfs/root/.automated_script.sh: Replacing wget with curl for the use-case of downloading a pre-specified remote startup script (changing flags where needed). configs/releng/packages.x86_64: Removing wget from the list of installed packages, as .automated_script.sh was the only reason for it being installed. --- channels/share/airootfs.any/root/.automated_script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/share/airootfs.any/root/.automated_script.sh b/channels/share/airootfs.any/root/.automated_script.sh index 7dbfbfbe..72c93e0b 100755 --- a/channels/share/airootfs.any/root/.automated_script.sh +++ b/channels/share/airootfs.any/root/.automated_script.sh @@ -23,7 +23,7 @@ automated_script () script="$(script_cmdline)" if [[ -n "${script}" && ! -x /tmp/startup_script ]]; then if [[ "${script}" =~ ^((http|https|ftp)://) ]]; then - wget "${script}" --retry-connrefused -q -O /tmp/startup_script >/dev/null + curl "${script}" --retry-connrefused -s -o /tmp/startup_script >/dev/null rt=$? else cp "${script}" /tmp/startup_script -- 2.11.0