Skip to content

Commit 14637dc

Browse files
INSTALL: adding support for FR locale in git clone status checks
1 parent 4012a0d commit 14637dc

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

install.sh

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ if [ $upgrade -eq 1 -a $makerfaire2018 -eq 0 -a -d ${home_dir}/wm8960 ]; then
7777
cd ${home_dir}/wm8960
7878
sudo chown -R ${owner} .git
7979
pull=`git pull`
80-
if [ "$pull" != "Already up to date." ]; then
80+
if [ "$pull" == "Already up to date." -o "$pull" == "Déjà à jour." ]; then
81+
echo "Sound driver is already up-to-date..."
82+
else
8183
make && sudo make install && make clean
8284
sudo touch /tmp/pynab.upgrade.reboot
8385
fi
@@ -89,7 +91,9 @@ if [ $upgrade -eq 1 ]; then
8991
cd ${home_dir}/tagtagtag-ears
9092
sudo chown -R ${owner} .git
9193
pull=`git pull`
92-
if [ "$pull" != "Already up to date." ]; then
94+
if [ "$pull" == "Already up to date." -o "$pull" == "Déjà à jour." ]; then
95+
echo "Ears driver is already up-to-date..."
96+
else
9397
make && sudo make install && make clean
9498
sudo touch /tmp/pynab.upgrade.reboot
9599
fi
@@ -113,7 +117,9 @@ if [ $upgrade -eq 1 ]; then
113117
cd ${home_dir}/cr14
114118
sudo chown -R ${owner} .git
115119
pull=`git pull`
116-
if [ "$pull" != "Already up to date." ]; then
120+
if [ "$pull" == "Already up to date." -o "$pull" == "Déjà à jour." ]; then
121+
echo "RFID driver is already up-to-date..."
122+
else
117123
make && sudo make install && make clean
118124
sudo touch /tmp/pynab.upgrade.reboot
119125
fi
@@ -137,7 +143,9 @@ if [ $upgrade -eq 1 ]; then
137143
cd ${root_dir}/nabblockly
138144
sudo chown -R ${owner} .
139145
pull=`git pull`
140-
if [ "$pull" != "Already up to date." ]; then
146+
if [ "$pull" == "Already up to date." -o "$pull" == "Déjà à jour." ]; then
147+
echo "NabBlockly is already up-to-date..."
148+
else
141149
./rebar3 release
142150
fi
143151
else

0 commit comments

Comments
 (0)