Skip to content

Commit

Permalink
Update auto-update-cron.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
0mniteck authored Sep 5, 2024
1 parent 322e206 commit 6317ab7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions auto-update-cron.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,16 @@ latest_version=$(get_latest_version)

# Check if an update is needed
if [ "$current_version" != "$latest_version" ]; then
echo "Updating Signal Desktop from version $current_version to $latest_version."
echo "Updating Signal Desktop from version $current_version to $latest_version"

# Stop any running instances of signal-desktop
stop_running_instance

# Install the new version
install_new_version
echo "Signal Desktop has been updated to version $latest_version."
echo "Signal Desktop has been updated to version $latest_version"
else
echo "Signal Desktop is already up to date (version $current_version)."
echo "Signal Desktop is already up to date (version $current_version)"
fi

# Define the cron job command
Expand Down

0 comments on commit 6317ab7

Please sign in to comment.