diff zshrc-linux-gnu @ 169:2cc8820caae0

extend the distribution detection mechanism
author Dirk Olmes <dirk.olmes@codedo.de>
date Sat, 04 Apr 2020 03:17:41 +0200
parents fa52868da3d4
children
line wrap: on
line diff
--- a/zshrc-linux-gnu	Sat Apr 04 03:15:18 2020 +0200
+++ b/zshrc-linux-gnu	Sat Apr 04 03:17:41 2020 +0200
@@ -16,6 +16,8 @@
     linux_distro="gentoo"
 elif [ -f /etc/centos-release ]; then
     linux_distro="centos"
+elif [ -d /etc/apt ]; then
+	linux_distro="debian"
 fi
 
 # now source the distro zshrc file if it exists