1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cops_ynh.git synced 2024-09-03 18:25:57 +02:00

Do an update before installing apps

This commit is contained in:
polytan02 2016-12-23 12:09:07 +00:00
parent 253daab50e
commit 72989fee64
2 changed files with 2 additions and 0 deletions

View file

@ -51,6 +51,7 @@ finalphpconf="/etc/php5/fpm/pool.d/${app}.conf"
ynh_app_setting_set "$app" finalphpconf "$finalphpconf"
# We install dependencies
sudo apt-get update --quiet --assume-yes
sudo apt-get install --quiet --assume-yes php5-gd php5-sqlite php5-json php5-intl
# Creation of folder

View file

@ -51,6 +51,7 @@ fi
# We install dependencies
sudo apt-get update --quiet --assume-yes
sudo apt-get install --quiet --assume-yes php5-gd php5-sqlite php5-json php5-intl
# Modify Nginx configuration file and copy it to Nginx conf directory