rm un-used set_image() dupe of check_image() in run_archiso.sh
This commit is contained in:
parent
23c5d52bd8
commit
dd51457d09
1 changed files with 0 additions and 12 deletions
|
@ -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=''
|
||||
|
|
Loading…
Add table
Reference in a new issue