Browse Source

Hide error if not installed as a package or if `dpkg` is not available

pull/117/head
Samuel FORESTIER 4 years ago
parent
commit
6185780cf7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      uninstall.sh

+ 1
- 1
uninstall.sh 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


Loading…
Cancel
Save