mirror of
https://github.com/azlux/log2ram.git
synced 2023-10-10 13:37:24 +02:00
Fixed: supporting a previous log2ram version again
This commit is contained in:
parent
1ffd89c70e
commit
0e76e8d655
@ -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…
Reference in New Issue
Block a user