Skip to content

Commit

Permalink
INSTALL: making sure Git disregard any rebase default behavior to kee…
Browse files Browse the repository at this point in the history
…p the up-to-date message consistent
  • Loading branch information
Commit-La-Grenouille committed Apr 15, 2022
1 parent 63d3715 commit db412f0
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ if [ $upgrade -eq 1 -a $makerfaire2018 -eq 0 -a -d ${home_dir}/wm8960 ]; then
echo "Updating sound driver - 2/14" > /tmp/pynab.upgrade
cd ${home_dir}/wm8960
sudo chown -R ${owner} .git
pull=$(LANGUAGE=en git pull)
# Making sure we keep the up-to-date status message consistent no matter the rebase default behavior
pull=$(LANGUAGE=en git pull --no-rebase)
if [ "$pull" == "Already up to date." ]; then
echo "Sound driver is already up-to-date..."
else
Expand All @@ -90,7 +91,8 @@ if [ $upgrade -eq 1 ]; then
if [ -d ${home_dir}/tagtagtag-ears ]; then
cd ${home_dir}/tagtagtag-ears
sudo chown -R ${owner} .git
pull=$(LANGUAGE=en git pull)
# Making sure we keep the up-to-date status message consistent no matter the rebase default behavior
pull=$(LANGUAGE=en git pull --no-rebase)
if [ "$pull" == "Already up to date." ]; then
echo "Ears driver is already up-to-date..."
else
Expand All @@ -116,7 +118,8 @@ if [ $upgrade -eq 1 ]; then
if [ -d ${home_dir}/cr14 ]; then
cd ${home_dir}/cr14
sudo chown -R ${owner} .git
pull=$(LANGUAGE=en git pull)
# Making sure we keep the up-to-date status message consistent no matter the rebase default behavior
pull=$(LANGUAGE=en git pull --no-rebase)
if [ "$pull" == "Already up to date." ]; then
echo "RFID driver is already up-to-date..."
else
Expand All @@ -141,8 +144,9 @@ if [ $upgrade -eq 1 ]; then
echo "Updating NabBlockly - 5/14" > /tmp/pynab.upgrade
if [ -d ${root_dir}/nabblockly ]; then
cd ${root_dir}/nabblockly
sudo chown -R ${owner} .
pull=$(LANGUAGE=en git pull)
sudo chown -R ${owner}
# Making sure we keep the up-to-date status message consistent no matter the rebase default behavior
pull=$(LANGUAGE=en git pull --no-rebase)
if [ "$pull" == "Already up to date." ]; then
echo "NabBlockly is already up-to-date..."
else
Expand Down

0 comments on commit db412f0

Please sign in to comment.