1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pufferpanel_ynh.git synced 2024-09-03 20:16:03 +02:00

little clean

This commit is contained in:
liberodark 2019-01-03 12:30:28 +01:00
parent 84eeb14bd1
commit 0896cc6706

View file

@ -107,17 +107,6 @@ if [ $OS_INSTALL_CMD == 'apt' ]; then
apt-get install -y openssl curl git openjdk-8-jdk-headless tar lib32gcc1 lib32tinfo5 lib32z1 lib32stdc++6 libcurl3-gnutls:i386
fi
curl -s https://packagecloud.io/install/repositories/pufferpanel/${pufferdRepo}/script.deb.sh | bash
elif [ $OS_INSTALL_CMD == 'yum' ]; then
yum -y install openssl curl git java-1.8.0-openjdk-devel tar glibc.i686 libstdc++.i686 libcurl.i686
curl -s https://packagecloud.io/install/repositories/pufferpanel/${pufferdRepo}/script.rpm.sh | bash
elif [ $OS_INSTALL_CMD == 'pacman' ]; then
grep -e "^\[multilib\]$" /etc/pacman.conf &> /dev/null
if [ $? -eq 0 ]; then
pacman -S openssl curl git jdk8-openjdk tar lib32-glibc lib32-gcc-libs --noconfirm --needed
else
echo -e "Please enable [multilib] in /etc/pacman.conf for lib32 libraries"
fi
fi
#Adding repo of pufferd