Some fixes

This commit is contained in:
2019-04-15 20:24:41 +02:00
parent 425b46aaad
commit 6063942d29

View File

@@ -38,7 +38,7 @@ test_command() {
yes_no_ask_required() {
yes_no_ask $@ "(required)"
if [ $? -ne 0 ]; then
error "can't continue"
error "refused to perform required task, can't continue"
exit 1
fi
}
@@ -56,7 +56,7 @@ yes_no_ask() {
install() {
test_command apt
if [ $? -eq 0 ]; then
sudo apt install $1
sudo apt install -y $1
return
fi