Make stuff run on Mint VM at work
This commit is contained in:
7
run_once_install_ansible.sh
Normal file → Executable file
7
run_once_install_ansible.sh
Normal file → Executable file
@@ -10,11 +10,13 @@ install_on_arch() {
|
||||
}
|
||||
|
||||
install_linux() {
|
||||
echo "install linux $1"
|
||||
case $1 in
|
||||
"Arch"|"EndevourOS")
|
||||
install_on_arch
|
||||
;;
|
||||
"Ubuntu"|"Debian"|"Linuxmint")
|
||||
"Ubuntu"|"Debian"|"Linuxmint"|*Mint*)
|
||||
echo "debian!"
|
||||
install_on_debian
|
||||
;;
|
||||
esac
|
||||
@@ -29,7 +31,8 @@ case "${OS}" in
|
||||
export PRETTY_NAME="$(lsb_release -i | column --table -N Dist,ID,Name -H Dist,ID -d)"
|
||||
fi
|
||||
|
||||
install_linux $PRETTY_NAME
|
||||
|
||||
install_linux "$PRETTY_NAME"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
Reference in New Issue
Block a user