Browse Source

Fixed: supporting a previous log2ram version again

pull/37/head
Nathan Huizinga 7 years ago
parent
commit
0e76e8d655
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      install.sh

+ 5
- 0
install.sh View File

@@ -12,6 +12,11 @@ then
cp log2ram.hourly /etc/cron.hourly/log2ram cp log2ram.hourly /etc/cron.hourly/log2ram
chmod +x /etc/cron.hourly/log2ram chmod +x /etc/cron.hourly/log2ram


# Remove a previous log2ram version
if [ -d /var/log.hdd]; then
rm -r /var/log.hdd
fi

if [ -d /var/hdd.log ]; then if [ -d /var/hdd.log ]; then
rm -r /var/hdd.log rm -r /var/hdd.log
fi fi


Loading…
Cancel
Save