From dd51457d09662df72adbf3fc53d2d034b8a7dad5 Mon Sep 17 00:00:00 2001 From: Michael Vorburger Date: Sat, 30 Jan 2021 15:15:40 +0100 Subject: rm un-used set_image() dupe of check_image() in run_archiso.sh --- scripts/run_archiso.sh | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/scripts/run_archiso.sh b/scripts/run_archiso.sh index 74f3096..36569b5 100755 --- a/scripts/run_archiso.sh +++ b/scripts/run_archiso.sh @@ -115,18 +115,6 @@ run_image() { -no-reboot } -set_image() { - if [[ -z "$image" ]]; then - printf 'ERROR: %s\n' "Image name can not be empty." - exit 1 - fi - if [[ ! -f "$image" ]]; then - printf 'ERROR: %s\n' "Image (${image}) does not exist." - exit 1 - fi - image="$1" -} - image='' oddimage='' accessibility='' -- cgit v1.2.3-70-g09d2