From ca73c1ed46ef878db88c93d16159c8043cfad48d Mon Sep 17 00:00:00 2001 From: liberodark Date: Sun, 6 Jan 2019 15:27:16 +0100 Subject: [PATCH] clean --- scripts/install | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/scripts/install b/scripts/install index bb14c95..106a2e5 100644 --- a/scripts/install +++ b/scripts/install @@ -74,21 +74,6 @@ ynh_app_setting_set $app domain $domain ynh_app_setting_set $app path $path_url ynh_app_setting_set $app is_public $is_public -#================================================= -# FIND AND OPEN A PORT -#================================================= - -### Use these lines if you have to open a port for the application -### `ynh_find_port` will find the first available port starting from the given port. -### If you're not using these lines: -### - Remove the section "CLOSE A PORT" in the remove script - -# Find a free port -port=$(ynh_find_port 5657) -# Open this port -yunohost firewall allow --no-upnp TCP $port 2>&1 -ynh_app_setting_set $app port $port - #============================================== # INSTALL DEPS #============================================== @@ -103,17 +88,6 @@ ynh_package_update #ynh_package_install openssl curl mysql-client mysql-server php7.2-fpm php7.2-cli php7.2-curl php7.2-mysql openjdk-8-jdk-headless git tar lib32gcc1 lib32tinfo5 lib32z1 lib32stdc++6 libcurl3-gnutls:i386 ynh_package_install openssl curl mysql-client mysql-server php7.0-fpm php7.0-cli php7.0-curl php7.0-mysql openjdk-8-jdk-headless git tar lib32gcc1 lib32tinfo5 lib32z1 lib32stdc++6 libcurl3-gnutls:i386 -#sudo echo "deb http://http.debian.net/debian stretch-backports main" > /etc/apt/sources.list.d/backports.list -#dpkg --add-architecture i386 -#apt-get update -#apt-get install -y -t stretch-backports openjdk-8-jdk-headless -#ynh_package_install debian-archive-keyring apt-transport-https openssl curl mysql-client mysql-server php-fpm php-cli php-curl php-mysql openjdk-8-jdk-headless git tar lib32gcc1 lib32tinfo5 lib32z1 lib32stdc++6 libcurl3-gnutls:i386 - -#apt-key add - https://packagecloud.io/pufferpanel/pufferd/gpgkey -#echo "deb https://packagecloud.io/pufferpanel/pufferd/debian/ stretch main" >> /etc/apt/sources.list.d/pufferpanel_pufferd.list -#echo "deb-src https://packagecloud.io/pufferpanel/pufferd/debian/ stretch main" >> /etc/apt/sources.list.d/pufferpanel_pufferd.list -#apt-get update - ## Start php7 systemctl enable php7.0-fpm systemctl start php7.0-fpm