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:
parent
1227bd017b
commit
6d985ac30a
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue