mirror of
https://github.com/YunoHost-Apps/pufferpanel_ynh.git
synced 2024-09-03 20:16:03 +02:00
update
This commit is contained in:
parent
0896cc6706
commit
f13f63c282
1 changed files with 11 additions and 21 deletions
|
@ -88,29 +88,19 @@ ynh_app_setting_set $app port $port
|
||||||
ynh_package_install openssl curl mysql-client mysql-server php-fpm php-cli php-curl php-mysql
|
ynh_package_install openssl curl mysql-client mysql-server php-fpm php-cli php-curl php-mysql
|
||||||
|
|
||||||
# Install Other Dependencies
|
# Install Other Dependencies
|
||||||
echo "Installing some dependencies"
|
sudo echo "deb http://http.debian.net/debian stretch-backports main" > /etc/apt/sources.list.d/backports.list
|
||||||
if [ $OS_INSTALL_CMD == 'apt' ]; then
|
dpkg --add-architecture i386
|
||||||
if [ $(lsb_release -sc) == 'jessie' ]; then
|
apt-get update
|
||||||
sudo echo "deb http://http.debian.net/debian jessie-backports main" > /etc/apt/sources.list.d/backports.list
|
apt-get install -y -t stretch-backports openjdk-8-jdk-headless
|
||||||
dpkg --add-architecture i386
|
apt-get install -y openssl curl git tar lib32gcc1 lib32tinfo5 lib32z1 lib32stdc++6 libcurl3-gnutls:i386
|
||||||
apt-get update
|
dpkg --add-architecture i386
|
||||||
apt-get install -y -t jessie-backports openjdk-8-jdk-headless
|
apt-get update
|
||||||
apt-get install -y openssl curl git tar lib32gcc1 lib32tinfo5 lib32z1 lib32stdc++6 libcurl3-gnutls:i386
|
apt-get install -y openssl curl git openjdk-8-jdk-headless tar lib32gcc1 lib32tinfo5 lib32z1 lib32stdc++6 libcurl3-gnutls:i386
|
||||||
elif [ $(lsb_release -sc) == 'trusty' ]; then
|
|
||||||
sudo add-apt-repository -y ppa:openjdk-r/ppa
|
#curl -s https://packagecloud.io/install/repositories/pufferpanel/${pufferdRepo}/script.deb.sh | bash
|
||||||
dpkg --add-architecture i386
|
|
||||||
apt-get update
|
|
||||||
apt-get install -y openssl curl git openjdk-8-jdk-headless tar lib32gcc1 lib32tinfo5 lib32z1 lib32stdc++6 libcurl3-gnutls:i386
|
|
||||||
else
|
|
||||||
dpkg --add-architecture i386
|
|
||||||
apt-get update
|
|
||||||
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
|
|
||||||
|
|
||||||
|
|
||||||
#Adding repo of pufferd
|
#Adding repo of pufferd
|
||||||
#curl -s https://packagecloud.io/install/repositories/pufferpanel/pufferd/script.deb.sh
|
curl -s https://packagecloud.io/install/repositories/pufferpanel/pufferd/script.deb.sh
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||||
|
|
Loading…
Add table
Reference in a new issue