Skip to content

Commit

Permalink
Adjusting Git pull message to still detect when already good
Browse files Browse the repository at this point in the history
  • Loading branch information
Commit-La-Grenouille committed Apr 5, 2022
1 parent 817685d commit b089215
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ if [ $upgrade -eq 1 -a $makerfaire2018 -eq 0 -a -d ${home_dir}/wm8960 ]; then
cd ${home_dir}/wm8960
sudo chown -R ${owner} .git
pull=$(LANGUAGE=en git pull)
if [ "$pull" == "Already up to date." ]; then
if [[ "$pull" == *" up to date." ]]; then
echo "Sound driver is already up-to-date..."
else
make && sudo make install && make clean
Expand All @@ -91,7 +91,7 @@ if [ $upgrade -eq 1 ]; then
cd ${home_dir}/tagtagtag-ears
sudo chown -R ${owner} .git
pull=$(LANGUAGE=en git pull)
if [ "$pull" == "Already up to date." ]; then
if [[ "$pull" == *" up to date." ]]; then
echo "Ears driver is already up-to-date..."
else
make && sudo make install && make clean
Expand All @@ -117,7 +117,7 @@ if [ $upgrade -eq 1 ]; then
cd ${home_dir}/cr14
sudo chown -R ${owner} .git
pull=$(LANGUAGE=en git pull)
if [ "$pull" == "Already up to date." ]; then
if [[ "$pull" == *" up to date." ]]; then
echo "RFID driver is already up-to-date..."
else
make && sudo make install && make clean
Expand All @@ -143,7 +143,7 @@ if [ $upgrade -eq 1 ]; then
cd ${root_dir}/nabblockly
sudo chown -R ${owner} .
pull=$(LANGUAGE=en git pull)
if [ "$pull" == "Already up to date." ]; then
if [[ "$pull" == *" up to date." ]]; then
echo "NabBlockly is already up-to-date..."
else
./rebar3 release
Expand Down

0 comments on commit b089215

Please sign in to comment.