rm un-used set_image() dupe of check_image() in run_archiso.sh
This commit is contained in:
parent
23c5d52bd8
commit
dd51457d09
@ -115,18 +115,6 @@ run_image() {
|
|||||||
-no-reboot
|
-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=''
|
image=''
|
||||||
oddimage=''
|
oddimage=''
|
||||||
accessibility=''
|
accessibility=''
|
||||||
|
Loading…
Reference in New Issue
Block a user