diff --git a/install.sh b/install.sh index be9a4b3..3d987c8 100644 --- a/install.sh +++ b/install.sh @@ -1,6 +1,6 @@ #!/bin/bash -### version: 1.5.1 +### version: 1.5.2 # ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.# # Nightscout Mikr.us setup script # @@ -33,7 +33,7 @@ MONGO_DB_DIR=/srv/nightscout/data/mongodb TOOL_FILE=/srv/nightscout/tools/nightscout-tool TOOL_LINK=/usr/bin/nightscout-tool UPDATES_DIR=/srv/nightscout/updates -SCRIPT_VERSION="1.5.1" #auto-update +SCRIPT_VERSION="1.5.2" #auto-update SCRIPT_BUILD_TIME="2023.09.11" #auto-update #======================================= @@ -342,7 +342,7 @@ setup_update_repo() { if [ "$aptGetWasUpdated" -eq "0" ]; then aptGetWasUpdated=1 ohai "Updating package repository" - apt-get -yq update >>$LOGTO 2 >&1 + apt-get -yq update >>$LOGTO 2>&1 fi } diff --git a/package.json b/package.json index c72d89b..2f4bca3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dlvoy/ns-installer-mikrus", - "version": "1.5.1", + "version": "1.5.2", "description": "Nightscout installer for mikr.us VPS", "main": "index.js", "scripts": { diff --git a/src/lib.sh b/src/lib.sh index e575ed8..53888e5 100644 --- a/src/lib.sh +++ b/src/lib.sh @@ -17,7 +17,7 @@ MONGO_DB_DIR=/srv/nightscout/data/mongodb TOOL_FILE=/srv/nightscout/tools/nightscout-tool TOOL_LINK=/usr/bin/nightscout-tool UPDATES_DIR=/srv/nightscout/updates -SCRIPT_VERSION="1.5.1" #auto-update +SCRIPT_VERSION="1.5.2" #auto-update SCRIPT_BUILD_TIME="2023.09.11" #auto-update #======================================= @@ -326,7 +326,7 @@ setup_update_repo() { if [ "$aptGetWasUpdated" -eq "0" ]; then aptGetWasUpdated=1 ohai "Updating package repository" - apt-get -yq update >>$LOGTO 2 >&1 + apt-get -yq update >>$LOGTO 2>&1 fi } diff --git a/src/setup.sh b/src/setup.sh index 49aaaf6..22c72fa 100755 --- a/src/setup.sh +++ b/src/setup.sh @@ -1,6 +1,6 @@ #!/bin/bash -### version: 1.5.1 +### version: 1.5.2 # ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.# # Nightscout Mikr.us setup script # diff --git a/updated b/updated index ace5227..6f0244b 100644 --- a/updated +++ b/updated @@ -1 +1 @@ -2023-09-11T06:51:36.278Z \ No newline at end of file +2023-09-11T07:09:07.598Z \ No newline at end of file