mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Cleaner messaging
This commit is contained in:
parent
ecf8f17fba
commit
543461817b
1 changed files with 3 additions and 2 deletions
|
@ -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 "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 "INSTALL INSTRUCTIONS: https://github.com/iiab/iiab/wiki/IIAB-Installation"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
@ -63,7 +64,7 @@ if [ ! -f /etc/iiab/iiab.env ]; then
|
|||
else
|
||||
if [[ `grep XSCE /etc/iiab/iiab.env` ]] || [ "$1" == "--reinstall" ]; then
|
||||
rm /etc/iiab/iiab.env
|
||||
echo "Deleted /etc/iiab/iiab.env"
|
||||
echo "Removed /etc/iiab/iiab.env"
|
||||
else
|
||||
if [ "$1" == "--debug" ]; then
|
||||
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
|
||||
;;
|
||||
*)
|
||||
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
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Add table
Reference in a new issue