mirror of
https://github.com/azlux/log2ram.git
synced 2023-10-10 13:37:24 +02:00
Bug fix: avoid installing when still installed
This commit is contained in:
parent
0e76e8d655
commit
4f7c1a33a2
@ -1,5 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
[ -d /var/hdd.log ] && echo "ERROR: log2ram still installed. Uninstall first!"
|
||||||
|
[ -d /var/hdd.log ] && exit 1
|
||||||
|
|
||||||
if [ `id -u` -eq 0 ]
|
if [ `id -u` -eq 0 ]
|
||||||
then
|
then
|
||||||
cp log2ram.service /etc/systemd/system/log2ram.service
|
cp log2ram.service /etc/systemd/system/log2ram.service
|
||||||
|
Loading…
Reference in New Issue
Block a user