Skip to content

Commit

Permalink
nc-ramlogs: pin version
Browse files Browse the repository at this point in the history
Signed-off-by: nachoparker <nacho@ownyourbits.com>
  • Loading branch information
nachoparker committed Aug 2, 2020
1 parent 99cfe9b commit dda010b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
7 changes: 4 additions & 3 deletions bin/ncp/SYSTEM/nc-ramlogs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
8 changes: 5 additions & 3 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit dda010b

Please sign in to comment.