mirror of
https://github.com/azlux/log2ram.git
synced 2022-11-27 05:45:02 +03:00
Hide error if not installed as a package or if dpkg is not available
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user