fixed packages

This commit is contained in:
Maksymilian Potok 2021-01-25 17:56:21 +01:00
commit 38cc6c74a0
1 changed files with 2 additions and 2 deletions

View File

@ -10,12 +10,12 @@ function package_installed() {
else
echo "false"
fi
else
else
if [ "$pkginstalled" -eq 0 ];then
show_message "package\033[1;36m $1\e[0m is installed..."
else
warning "package\033[1;33m $1\e[0m is not installed."
ask_question "would you like to install it now?" "N"
ask_question "would you like to install it now?" "Y"
if [ "$question_result" == "no" ];then
echo "exit..."
exit 5