introduce new variable names and use __explorers
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
e2ecdd92ab
commit
f5eccb2cb1
7 changed files with 41 additions and 11 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue