1
0
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:
Samuel FORESTIER 2020-07-22 20:41:51 +00:00
parent 0fdf8827e5
commit 6185780cf7

View File

@ -1,6 +1,6 @@
#!/usr/bin/env sh #!/usr/bin/env sh
if dpkg -l log2ram ; then if dpkg -l log2ram 2> /dev/null; then
echo "Please run : apt remove log2ram" echo "Please run : apt remove log2ram"
exit 1 exit 1
fi fi