1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 11:12:06 +00:00

== and = were interspersed. Let's converge on one. Presumably ==

This commit is contained in:
A Holt 2017-11-08 01:38:13 -05:00 committed by GitHub
parent 1227bd017b
commit 6d985ac30a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,7 @@ if [ ! -f $PLAYBOOK ]; then
exit 1
fi
if [ $OS = "raspbian" ]; then
if [ $OS == "raspbian" ]; then
echo "Found Raspbian"
ABORT=`uname -a | grep $OLD_RPI_KERN | wc -l`
if [ "$ABORT" == 1 ]; then
@ -44,13 +44,13 @@ if [ ! -f /etc/iiab/iiab.env ]; then
# ./scripts/ansible # needs discussion
else
OLD=`grep XSCE /etc/iiab/iiab.env | wc -l`
if [ "$OLD" != 0 ] || [ "$1" = "--reinstall" ]; then
if [ "$OLD" != 0 ] || [ "$1" == "--reinstall" ]; then
echo "Found old XSCE install - re-installing from scratch"
rm /etc/iiab/iiab.env
# check ansible version here and force ansible upgrade if needed
else
source /etc/iiab/iiab.env
if [ "$1" = "--debug" ]; then
if [ "$1" == "--debug" ]; then
echo "Entering debug mode"
sed -i -e 's/^STAGE=.*/STAGE=2/' /etc/iiab/iiab.env
elif [ ! $STAGE == 9 ]; then