mirror of
https://github.com/azur1s/bobbylisp.git
synced 2024-10-16 02:37:40 -05:00
fix: i love bash syntax
This commit is contained in:
parent
699710fb5b
commit
689714567e
|
@ -5,7 +5,7 @@ path=$(pwd)
|
||||||
tput smcup # Switch to alternate screen so we preserve the terminal history
|
tput smcup # Switch to alternate screen so we preserve the terminal history
|
||||||
tput civis
|
tput civis
|
||||||
|
|
||||||
trap clean_up INT
|
trap clean_up_fail INT
|
||||||
|
|
||||||
clean_up() {
|
clean_up() {
|
||||||
tput rmcup
|
tput rmcup
|
||||||
|
@ -86,8 +86,8 @@ run_menu() {
|
||||||
# --- Installation ---
|
# --- Installation ---
|
||||||
|
|
||||||
check_installed() {
|
check_installed() {
|
||||||
if ! [ -x "$(command -v $1)" ] then
|
if ! [ -x "$(command -v $1)" ]
|
||||||
clean_up_fail "Please check that you have $1 installed!"
|
then clean_up_fail "Please check that you have $1 installed!"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue