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 RELEASE_GENERATOR=""
|
||||
local RELEASES=""
|
||||
|
||||
DISPLAY_NAME="$(pretty_name "${OS}")"
|
||||
case ${OS} in
|
||||
*ubuntu-server*) RELEASE_GENERATOR="releases_ubuntu-server";;
|
||||
|
@ -307,7 +308,7 @@ function list_json() {
|
|||
|
||||
function list_csv() {
|
||||
local DISPLAY_NAME
|
||||
local DL="wget"
|
||||
local DL=""
|
||||
local DOWNLOADER
|
||||
local FUNC
|
||||
local OPTION
|
||||
|
@ -486,7 +487,6 @@ test_isos() {
|
|||
else
|
||||
echo "ERROR - ${OS} ${RELEASE} ${OPTION} ${URL}"
|
||||
fi
|
||||
|
||||
done
|
||||
done
|
||||
exit 0
|
||||
|
@ -1827,13 +1827,10 @@ function get_athenaos() {
|
|||
rolling)
|
||||
ISO="athena-rolling-x86_64.iso"
|
||||
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"
|
||||
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
|
||||
echo "${URL}/${ISO} ${HASH}"
|
||||
}
|
||||
|
@ -2753,18 +2750,17 @@ function get_slax() {
|
|||
local HASH=""
|
||||
local ISO=""
|
||||
local URL=""
|
||||
|
||||
|
||||
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)
|
||||
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)
|
||||
HASH=$(wget -q -O- "${URL}/md5.txt" | grep '64bit-' | cut -d' ' -f1 | tail -n1)
|
||||
;;
|
||||
esac
|
||||
HASH=$(wget -q -O- "${URL}/md5.txt" | grep '64bit-' | cut -d' ' -f1 | tail -n1)
|
||||
echo "${URL}/${ISO} ${HASH}"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue