using case statements instead of nested ifs
This commit is contained in:
parent
7e84acc3b2
commit
4fa14e4cac
1 changed files with 1 additions and 1 deletions
2
init.sh
2
init.sh
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#install pre-req.
|
#install pre-req.
|
||||||
echo -n "Which Linux flavor will we be installing programs for? (u/o)"; read -r answer
|
echo -n "Which Linux flavor will we be installing programs for? (u/o/a)"; read -r answer
|
||||||
case $answer in
|
case $answer in
|
||||||
u)
|
u)
|
||||||
bash udeps.sh
|
bash udeps.sh
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue