Skip to content

Commit

Permalink
cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
Booteille committed May 18, 2017
1 parent b0ce8af commit 836e1cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,11 @@ if [[ "${BASH_SOURCE[0]}" = "$0" ]]; then
info "Downloading new version ($new_jar)"
sudo -u blynk wget -c -q --show-progress "$latest" -O "$new_path"

# Replace old server
if [[ -f "$BLYNK_JAR" ]]; then
sudo -u blynk rm "$BLYNK_JAR"
fi

# Replace old server
sudo sed -i -e "s#^BLYNK_JAR=\".*\"#BLYNK_JAR=\"$new_path\"#" $BLYNKCLI_EXECUTABLE

info "Update complete."
Expand Down

0 comments on commit 836e1cf

Please sign in to comment.