X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fcore%2Ffunctions.sh;h=48e819050e9cd232955b2f0b0e2e34291ccc176a;hb=aafdcb6a5639b9d1a57a04ec4ccffa48c9326642;hp=c1401efe3682d09a7478bd8842b42ee7bfdc4516;hpb=4632b4b83caec310bf5d56ef29a37f4456f6d415;p=feisty_meow.git diff --git a/scripts/core/functions.sh b/scripts/core/functions.sh index c1401efe..48e81905 100644 --- a/scripts/core/functions.sh +++ b/scripts/core/functions.sh @@ -446,8 +446,12 @@ if [ -z "$skip_all" ]; then # returns a successful value (0) if this system is debian or ubuntu. function debian_like() { # decide if we think this is debian or ubuntu or a variant. - DEBIAN_LIKE=$(if [ ! -z "$(grep -i debian /etc/issue)" \ - -o ! -z "$(grep -i ubuntu /etc/issue)" ]; then echo 1; else echo 0; fi) + DEBIAN_LIKE=$( \ + if [ \ + ! -z "$(grep -i debian /etc/issue)" -o \ + ! -z "$(grep -i ubuntu /etc/issue)" -o \ + ! -z "$(grep -i 'Pop._OS' /etc/issue)" \ + ]; then echo 1; else echo 0; fi) if [ $DEBIAN_LIKE -eq 1 ]; then # success; this is debianish. return 0