]>
Commit | Line | Data |
---|---|---|
e839ebe5 | 1 | #!/bin/sh -eu |
1fe6d37e | 2 | # SPDX-License-Identifier: MIT-0 |
e839ebe5 ZJS |
3 | |
4 | test -e /etc/os-release && os_release='/etc/os-release' || os_release='/usr/lib/os-release' | |
5 | . "${os_release}" | |
6 | ||
7 | echo "Running on ${PRETTY_NAME:-Linux}" | |
8 | ||
91da09bd | 9 | if [ "${ID:-linux}" = "debian" ] || [ "${ID_LIKE#*debian*}" != "${ID_LIKE}" ]; then |
e839ebe5 ZJS |
10 | echo "Looks like Debian!" |
11 | fi |