mirror of
https://github.com/azlux/log2ram.git
synced 2023-10-10 13:37:24 +02:00
Hide error if not installed as a package or if dpkg
is not available
This commit is contained in:
parent
0fdf8827e5
commit
6185780cf7
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
if dpkg -l log2ram ; then
|
||||
if dpkg -l log2ram 2> /dev/null; then
|
||||
echo "Please run : apt remove log2ram"
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user