Commit 78dcaba6bf806688cbe8f8cc2d9cdd54f248a113
1 parent
e2d46eb0
Fix debian detection error in install script
Showing
1 changed file
with
1 additions
and
1 deletions
debian/preinst
| 1 | #!/bin/bash -e | 1 | #!/bin/bash -e |
| 2 | 2 | ||
| 3 | -if [[ ! -f /etc/lsb-release || ! -f /etc/debian_version ]]; then | 3 | +if [[ ! -f /etc/lsb-release && ! -f /etc/debian_version ]]; then |
| 4 | echo "This is not a Debian or Ubuntu based system? Hmm" | 4 | echo "This is not a Debian or Ubuntu based system? Hmm" |
| 5 | exit 1 | 5 | exit 1 |
| 6 | fi | 6 | fi |