Cleanup output
This commit is contained in:
@@ -1655,8 +1655,7 @@ update_self() {
|
|||||||
|
|
||||||
# Compare versions and update if necessary
|
# Compare versions and update if necessary
|
||||||
if [[ $SCRIPT_VERSION < $remote_version ]]; then
|
if [[ $SCRIPT_VERSION < $remote_version ]]; then
|
||||||
echo "Current installJRMC version: $SCRIPT_VERSION"
|
echo "Updating installJRMC $SCRIPT_VERSION to $remote_version"
|
||||||
echo "Latest installJRMC version: $remote_version. Updating..."
|
|
||||||
execute mv "$tmp" "$SCRIPT_PATH"
|
execute mv "$tmp" "$SCRIPT_PATH"
|
||||||
execute chmod +x "$SCRIPT_PATH"
|
execute chmod +x "$SCRIPT_PATH"
|
||||||
exec "$SCRIPT_PATH" "$@" "--no-self-update"
|
exec "$SCRIPT_PATH" "$@" "--no-self-update"
|
||||||
|
|||||||
Reference in New Issue
Block a user