diff options
-rw-r--r-- | bin/ncp/SYSTEM/nc-ramlogs.sh | 7 | ||||
-rw-r--r-- | changelog.md | 4 |
2 files changed, 7 insertions, 4 deletions
diff --git a/bin/ncp/SYSTEM/nc-ramlogs.sh b/bin/ncp/SYSTEM/nc-ramlogs.sh index 88b0e41b..5cf8d41f 100644 --- a/bin/ncp/SYSTEM/nc-ramlogs.sh +++ b/bin/ncp/SYSTEM/nc-ramlogs.sh @@ -17,16 +17,17 @@ is_active() install() { + VERSION=1.5.2 [[ -d /var/log.hdd ]] || [[ -d /var/hdd.log ]] && { echo "log2ram detected, not installing"; return; } cd /tmp - curl -Lo log2ram.tar.gz https://github.com/azlux/log2ram/archive/master.tar.gz + curl -Lo log2ram.tar.gz https://github.com/azlux/log2ram/archive/${VERSION}.tar.gz tar xf log2ram.tar.gz - cd log2ram-master + cd log2ram-${VERSION} sed -i '/systemctl -q is-active log2ram/d' install.sh sed -i '/systemctl enable log2ram/d' install.sh chmod +x install.sh && sudo ./install.sh cd .. - rm -r log2ram-master log2ram.tar.gz + rm -r log2ram-${VERSION} log2ram.tar.gz rm /etc/cron.daily/log2ram /usr/local/bin/uninstall-log2ram.sh } diff --git a/changelog.md b/changelog.md index e3ebb544..9e8254c8 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,7 @@ -[v1.27.0](https://github.com/nextcloud/nextcloudpi/commit/765c5a3) (2020-07-05) upgrade to NC18.0.6 +[v1.27.1](https://github.com/nextcloud/nextcloudpi/commit/c63ebcb) (2020-08-02) nc-ramlogs: pin version + +[v1.27.0](https://github.com/nextcloud/nextcloudpi/commit/3c96d2e) (2020-07-05) upgrade to NC18.0.6 [v1.26.2](https://github.com/nextcloud/nextcloudpi/commit/337ffeb) (2020-06-13) ncp-autoupdate: cronjob write to the log only (#1144) |