diff options
| author | Michael Vorburger <mike@vorburger.ch> | 2021-01-30 15:15:40 +0100 |
|---|---|---|
| committer | David Runge <dvzrv@archlinux.org> | 2021-01-31 01:02:53 +0000 |
| commit | dd51457d09662df72adbf3fc53d2d034b8a7dad5 (patch) | |
| tree | 69e41a50958621e3207c57069db13aab61b9c2e3 /scripts/run_archiso.sh | |
| parent | 23c5d52bd873f97bbce73269c8b7c1da936d6b4c (diff) | |
| download | archiso-dd51457d09662df72adbf3fc53d2d034b8a7dad5.tar.gz archiso-dd51457d09662df72adbf3fc53d2d034b8a7dad5.tar.bz2 | |
rm un-used set_image() dupe of check_image() in run_archiso.sh
Diffstat (limited to 'scripts/run_archiso.sh')
| -rwxr-xr-x | scripts/run_archiso.sh | 12 |
1 files changed, 0 insertions, 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='' |
