Skip to content

Commit 895438c

Browse files
INSTALL: making sure Git disregard any rebase default behavior to keep the up-to-date message consistent
1 parent 92fe4ae commit 895438c

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

install.sh

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ if [ $upgrade -eq 1 -a $makerfaire2018 -eq 0 -a -d ${home_dir}/wm8960 ]; then
7676
echo "Updating sound driver - 2/14" > /tmp/pynab.upgrade
7777
cd ${home_dir}/wm8960
7878
sudo chown -R ${owner} .git
79-
pull=$(LANGUAGE=en git pull)
79+
# Making sure we keep the up-to-date status message consistent no matter the rebase default behavior
80+
pull=$(LANGUAGE=en git pull --no-rebase)
8081
if [ "$pull" == "Already up to date." ]; then
8182
echo "Sound driver is already up-to-date..."
8283
else
@@ -90,7 +91,8 @@ if [ $upgrade -eq 1 ]; then
9091
if [ -d ${home_dir}/tagtagtag-ears ]; then
9192
cd ${home_dir}/tagtagtag-ears
9293
sudo chown -R ${owner} .git
93-
pull=$(LANGUAGE=en git pull)
94+
# Making sure we keep the up-to-date status message consistent no matter the rebase default behavior
95+
pull=$(LANGUAGE=en git pull --no-rebase)
9496
if [ "$pull" == "Already up to date." ]; then
9597
echo "Ears driver is already up-to-date..."
9698
else
@@ -116,7 +118,8 @@ if [ $upgrade -eq 1 ]; then
116118
if [ -d ${home_dir}/cr14 ]; then
117119
cd ${home_dir}/cr14
118120
sudo chown -R ${owner} .git
119-
pull=$(LANGUAGE=en git pull)
121+
# Making sure we keep the up-to-date status message consistent no matter the rebase default behavior
122+
pull=$(LANGUAGE=en git pull --no-rebase)
120123
if [ "$pull" == "Already up to date." ]; then
121124
echo "RFID driver is already up-to-date..."
122125
else
@@ -141,8 +144,9 @@ if [ $upgrade -eq 1 ]; then
141144
echo "Updating NabBlockly - 5/14" > /tmp/pynab.upgrade
142145
if [ -d ${root_dir}/nabblockly ]; then
143146
cd ${root_dir}/nabblockly
144-
sudo chown -R ${owner} .
145-
pull=$(LANGUAGE=en git pull)
147+
sudo chown -R ${owner}
148+
# Making sure we keep the up-to-date status message consistent no matter the rebase default behavior
149+
pull=$(LANGUAGE=en git pull --no-rebase)
146150
if [ "$pull" == "Already up to date." ]; then
147151
echo "NabBlockly is already up-to-date..."
148152
else

0 commit comments

Comments
 (0)