Skip to content

Commit

Permalink
Update updater.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmerrell committed May 10, 2022
1 parent 088d8f8 commit 2473ebc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/updater.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ if [ "$current_version" != "$latest_version" ]; then
cd /opt/Stem/branch_staging/"$latest_version_underscored" || exit

# Run the installer.
if [ "$(sudo ./install.sh)" -ne 0 ]; then
sudo ./install.sh
if [ $? -ne 0 ]; then
echo "Installer failed."
else
echo "Branch updated to version ${latest_version}."
Expand Down

0 comments on commit 2473ebc

Please sign in to comment.