1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Cleaner messaging

This commit is contained in:
A Holt 2017-11-09 21:06:32 -05:00 committed by GitHub
parent ecf8f17fba
commit 543461817b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,6 +47,7 @@ if version_gt $MIN_ANSIBLE_VER $CURRENT_ANSIBLE_VER; then
echo "be removed with 'apt purge ansible' or 'pip uninstall ansible'. We recommend" echo "be removed with 'apt purge ansible' or 'pip uninstall ansible'. We recommend"
echo "you run './scripts/ansible' to install the latest Ansible from PPA or RPM." echo "you run './scripts/ansible' to install the latest Ansible from PPA or RPM."
echo "'apt -a list ansible' can also sometimes be useful to show options!" echo "'apt -a list ansible' can also sometimes be useful to show options!"
echo "INSTALL INSTRUCTIONS: https://github.com/iiab/iiab/wiki/IIAB-Installation"
exit 1 exit 1
fi fi
@ -63,7 +64,7 @@ if [ ! -f /etc/iiab/iiab.env ]; then
else else
if [[ `grep XSCE /etc/iiab/iiab.env` ]] || [ "$1" == "--reinstall" ]; then if [[ `grep XSCE /etc/iiab/iiab.env` ]] || [ "$1" == "--reinstall" ]; then
rm /etc/iiab/iiab.env rm /etc/iiab/iiab.env
echo "Deleted /etc/iiab/iiab.env" echo "Removed /etc/iiab/iiab.env"
else else
if [ "$1" == "--debug" ]; then if [ "$1" == "--debug" ]; then
sed -i 's/^STAGE=.*/STAGE=2/' /etc/iiab/iiab.env sed -i 's/^STAGE=.*/STAGE=2/' /etc/iiab/iiab.env
@ -92,7 +93,7 @@ if [ ! -f ./vars/local_vars.yml ]; then
cp ./vars/medium.localvars ./vars/local_vars.yml cp ./vars/medium.localvars ./vars/local_vars.yml
;; ;;
*) *)
echo "IIAB requires raspbian, debian, ubuntu, centos or OLPC/fedora - exiting now..." echo "Exiting: IIAB requires Raspbian, Debian, Ubuntu, CentOS or OLPC/Fedora."
exit 1 exit 1
;; ;;
esac esac