From 82caba2f372a102da733d1966cc3a240b7f22e8b Mon Sep 17 00:00:00 2001 From: simono41 Date: Thu, 14 Sep 2017 15:05:15 +0200 Subject: [PATCH] fix --- auto.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/auto.sh b/auto.sh index b966cff..82c6132 100755 --- a/auto.sh +++ b/auto.sh @@ -8,11 +8,15 @@ if [[ $EUID -ne 0 ]]; then fi echo "Als root Angemeldet" -apt update +if [ -f /usr/bin/apt ]; then + apt update -apt install git libssl-dev libpam0g-dev zlib1g-dev dh-autoreconf + apt install git libssl-dev libpam0g-dev zlib1g-dev dh-autoreconf +fi -pacman -S git openssl autoconf automake make gcc +if [ -f /usr/bin/pacman ]; then + pacman -Sy git openssl autoconf automake make gcc +fi cd /opt/