rm un-used set_image() dupe of check_image() in run_archiso.sh

This commit is contained in:
Michael Vorburger 2021-01-30 15:15:40 +01:00 committed by David Runge
parent 23c5d52bd8
commit dd51457d09

View File

@ -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=''