nc-ramlogs: pin version

Signed-off-by: nachoparker <nacho@ownyourbits.com>
This commit is contained in:
nachoparker 2020-08-02 09:56:09 -06:00
parent 99cfe9bc87
commit dda010bed4
2 changed files with 9 additions and 6 deletions

View File

@ -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
}

View File

@ -1,9 +1,11 @@
[v1.28.0](https://github.com/nextcloud/nextcloudpi/commit/8a0c09c) (2020-07-23) upgrade to NC18.0.7
[v1.28.1](https://github.com/nextcloud/nextcloudpi/commit/2528f18) (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.28.0](https://github.com/nextcloud/nextcloudpi/commit/99cfe9b) (2020-07-23) upgrade to NC18.0.7
[v1.26.2](https://github.com/nextcloud/nextcloudpi/commit/337ffeb) (2020-06-13) ncp-autoupdate: cronjob write to the log only (#1144)
[v1.27.0 ](https://github.com/nextcloud/nextcloudpi/commit/3c96d2e) (2020-07-05) upgrade to NC18.0.6
[v1.26.2, master](https://github.com/nextcloud/nextcloudpi/commit/337ffeb) (2020-06-13) ncp-autoupdate: cronjob write to the log only (#1144)
[v1.26.1 ](https://github.com/nextcloud/nextcloudpi/commit/4e79386) (2020-06-13) ncp-web: fix port checking