add support for other package managers

pull/85/head
TeF 2020-09-07 10:36:14 +08:00 committed by GitHub
parent dd07d27f89
commit 58610ad0f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 1 deletions

View File

@ -99,7 +99,16 @@ identify_the_operating_system_and_architecture() {
PACKAGE_MANAGEMENT_REMOVE='zypper remove'
else
echo "error: The script does not support the package manager in this operating system."
exit 1
echo
echo -e -n "\033[1;31mDo you want to continue?(y/n)\033[0m"
read s
case $s in
n|N|No|NO) exit 1
;;
y|Y|Yes|YES) echo "Manual install starting now"
;;
*) exit 1
esac
fi
else
echo "error: This operating system is not supported."