Remove ubuntu support
This commit is contained in:
13
install.sh
13
install.sh
@@ -50,13 +50,7 @@ sudowrap() {
|
||||
cache_updated=0
|
||||
_install() {
|
||||
_package="$1" ; shift
|
||||
if [[ $NAME == "Ubuntu" ]] ; then
|
||||
if ! (( cache_updated )) ; then
|
||||
sudowrap apt-get update
|
||||
cache_updated=1
|
||||
fi
|
||||
sudowrap apt-get install --assume-yes "${_package}"
|
||||
elif [[ $NAME == "Arch Linux" ]] ; then
|
||||
if [[ $NAME == "Arch Linux" ]] ; then
|
||||
sudowrap pacman -S --noconfirm "${_package}"
|
||||
else
|
||||
2>&1 printf "Unsupported distro $NAME, exiting"
|
||||
@@ -81,9 +75,4 @@ if [[ $NAME == "Arch Linux" ]] ; then
|
||||
_install "ansible"
|
||||
fi
|
||||
|
||||
if [[ $NAME == "Ubuntu" ]] ; then
|
||||
_install "ansible"
|
||||
_install "python3-jmespath"
|
||||
fi
|
||||
|
||||
cd "$DOTDIR" && make
|
||||
|
||||
Reference in New Issue
Block a user