|
@@ -1655,8 +1655,7 @@ update_self() {
|
|
|
|
|
|
# Compare versions and update if necessary
|
|
|
if [[ $SCRIPT_VERSION < $remote_version ]]; then
|
|
|
- echo "Current installJRMC version: $SCRIPT_VERSION"
|
|
|
- echo "Latest installJRMC version: $remote_version. Updating..."
|
|
|
+ echo "Updating installJRMC $SCRIPT_VERSION to $remote_version"
|
|
|
execute mv "$tmp" "$SCRIPT_PATH"
|
|
|
execute chmod +x "$SCRIPT_PATH"
|
|
|
exec "$SCRIPT_PATH" "$@" "--no-self-update"
|