Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2020-08-02 18:56:09 +0300
committernachoparker <nacho@ownyourbits.com>2020-08-02 18:56:14 +0300
commit161147dbcfd45061d8b775ff8651f7a35656a115 (patch)
tree3a3d57b0abcac2ae4d4e272295f04ba7fa388b22
parent3c96d2eed387837244fe3c2182d9bcef33939216 (diff)
nc-ramlogs: pin versionv1.27.1
Signed-off-by: nachoparker <nacho@ownyourbits.com>
-rw-r--r--bin/ncp/SYSTEM/nc-ramlogs.sh7
-rw-r--r--changelog.md4
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)