style: fix indentation
This commit is contained in:
parent
f0fb2c8f6f
commit
f40a90772b
18
quickget
18
quickget
|
@ -289,6 +289,7 @@ function validate_release() {
|
||||||
local DISPLAY_NAME=""
|
local DISPLAY_NAME=""
|
||||||
local RELEASE_GENERATOR=""
|
local RELEASE_GENERATOR=""
|
||||||
local RELEASES=""
|
local RELEASES=""
|
||||||
|
|
||||||
DISPLAY_NAME="$(pretty_name "${OS}")"
|
DISPLAY_NAME="$(pretty_name "${OS}")"
|
||||||
case ${OS} in
|
case ${OS} in
|
||||||
*ubuntu-server*) RELEASE_GENERATOR="releases_ubuntu-server";;
|
*ubuntu-server*) RELEASE_GENERATOR="releases_ubuntu-server";;
|
||||||
|
@ -307,7 +308,7 @@ function list_json() {
|
||||||
|
|
||||||
function list_csv() {
|
function list_csv() {
|
||||||
local DISPLAY_NAME
|
local DISPLAY_NAME
|
||||||
local DL="wget"
|
local DL=""
|
||||||
local DOWNLOADER
|
local DOWNLOADER
|
||||||
local FUNC
|
local FUNC
|
||||||
local OPTION
|
local OPTION
|
||||||
|
@ -486,7 +487,6 @@ test_isos() {
|
||||||
else
|
else
|
||||||
echo "ERROR - ${OS} ${RELEASE} ${OPTION} ${URL}"
|
echo "ERROR - ${OS} ${RELEASE} ${OPTION} ${URL}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -1827,13 +1827,10 @@ function get_athenaos() {
|
||||||
rolling)
|
rolling)
|
||||||
ISO="athena-rolling-x86_64.iso"
|
ISO="athena-rolling-x86_64.iso"
|
||||||
URL="https://sourceforge.net/projects/athena-iso/files/rolling"
|
URL="https://sourceforge.net/projects/athena-iso/files/rolling"
|
||||||
HASH=$(wget -q -O- "${URL}/${ISO}.md5" | cut -d' ' -f1)
|
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
ISO="athena-20${RELEASE}-x86_64.iso"
|
ISO="athena-20${RELEASE}-x86_64.iso"
|
||||||
URL="https://sourceforge.net/projects/athena-iso/files/v${RELEASE}"
|
URL="https://sourceforge.net/projects/athena-iso/files/v${RELEASE}"
|
||||||
HASH=$(wget -q -O- 'https://sourceforge.net/projects/athena-iso/rss?path=/' | grep '.iso/download"' | grep "${RELEASE}" | cut -d '=' -f7 | cut -d'>' -f2 | cut -d'<' -f1)
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
echo "${URL}/${ISO} ${HASH}"
|
echo "${URL}/${ISO} ${HASH}"
|
||||||
}
|
}
|
||||||
|
@ -2753,18 +2750,17 @@ function get_slax() {
|
||||||
local HASH=""
|
local HASH=""
|
||||||
local ISO=""
|
local ISO=""
|
||||||
local URL=""
|
local URL=""
|
||||||
|
|
||||||
|
|
||||||
case ${EDITION} in
|
case ${EDITION} in
|
||||||
debian) URL="https://ftp.fi.muni.cz/pub/linux/slax/Slax-12.x"
|
debian)
|
||||||
|
URL="https://ftp.fi.muni.cz/pub/linux/slax/Slax-12.x"
|
||||||
ISO=$(wget -q -O- "${URL}/md5.txt" | grep '64bit-' | cut -d' ' -f3 | tail -n1)
|
ISO=$(wget -q -O- "${URL}/md5.txt" | grep '64bit-' | cut -d' ' -f3 | tail -n1)
|
||||||
HASH=$(wget -q -O- "${URL}/md5.txt" | grep '64bit-' | cut -d' ' -f1 | tail -n1)
|
|
||||||
;;
|
;;
|
||||||
slackware) URL="https://ftp.fi.muni.cz/pub/linux/slax/Slax-15.x"
|
slackware)
|
||||||
|
URL="https://ftp.fi.muni.cz/pub/linux/slax/Slax-15.x"
|
||||||
ISO=$(wget -q -O- "${URL}/md5.txt" | grep '64bit-' | cut -d' ' -f3 | tail -n1)
|
ISO=$(wget -q -O- "${URL}/md5.txt" | grep '64bit-' | cut -d' ' -f3 | tail -n1)
|
||||||
HASH=$(wget -q -O- "${URL}/md5.txt" | grep '64bit-' | cut -d' ' -f1 | tail -n1)
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
HASH=$(wget -q -O- "${URL}/md5.txt" | grep '64bit-' | cut -d' ' -f1 | tail -n1)
|
||||||
echo "${URL}/${ISO} ${HASH}"
|
echo "${URL}/${ISO} ${HASH}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue