introduce new variable names and use __explorers

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-02-24 14:24:47 +01:00
commit f5eccb2cb1
7 changed files with 41 additions and 11 deletions

View file

@ -19,10 +19,14 @@
#
#
case "$(./conf/explorers/os)" in
os="$("$__explorers/os")"
case "$os" in
archlinux) echo pacman ;;
debian|ubuntu) echo apt ;;
gentoo) echo emerge ;;
*)
echo "Unknown OS: $os" >&2
exit 1
;;
esac
exit 0