Consistently indent quickget with 4 spaces

This commit is contained in:
nqvrg 2022-02-24 16:06:57 +01:00
parent 2dd71036f3
commit 0d670056b6

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
export LC_ALL=C export LC_ALL=C
# Here the quick 'n dirty guide to adding a new OS to quickget # Here the quick 'n dirty guide to adding a new OS to quickget
@ -416,8 +417,7 @@ function releases_rockylinux() {
} }
function editions_rockylinux() { function editions_rockylinux() {
echo minimal \ echo minimal dvd1
dvd1
} }
function releases_slackware() { function releases_slackware() {
@ -453,7 +453,8 @@ function releases_windows() {
} }
function languages_windows() { function languages_windows() {
LANGS=(Arabic LANGS=(
Arabic
"Brazilian Portuguese" "Brazilian Portuguese"
Bulgarian Bulgarian
"Chinese (Simplified)" "Chinese (Simplified)"
@ -490,7 +491,8 @@ function languages_windows() {
Swedish Swedish
Thai Thai
Turkish Turkish
Ukrainian) Ukrainian
)
} }
function releases_zorin() { function releases_zorin() {
@ -688,7 +690,7 @@ function get_alma() {
local HASH="" local HASH=""
local ISO="AlmaLinux-${RELEASE}-x86_64-${EDITION}.iso" local ISO="AlmaLinux-${RELEASE}-x86_64-${EDITION}.iso"
local URL="http://lon.mirror.rackspace.com/almalinux/${RELEASE}/isos/x86_64/" local URL="http://lon.mirror.rackspace.com/almalinux/${RELEASE}/isos/x86_64/"
HASH="$(wget -q -O- "${URL}/CHECKSUM" | grep "(${ISO}" | cut -d' ' -f4)" HASH=$(wget -q -O- "${URL}/CHECKSUM" | grep "(${ISO}" | cut -d' ' -f4)
echo "${URL}/${ISO} ${HASH}" echo "${URL}/${ISO} ${HASH}"
} }