diff --git a/scripts/post-install.sh b/scripts/post-install.sh index 19b895808..bb4803f8d 100644 --- a/scripts/post-install.sh +++ b/scripts/post-install.sh @@ -56,7 +56,7 @@ if [[ -f /etc/redhat-release ]]; then install_init install_chkconfig fi -elif [[ -f /etc/lsb-release ]]; then +elif [[ -f /etc/debian_version ]]; then # Debian/Ubuntu logic which systemctl &>/dev/null if [[ $? -eq 0 ]]; then