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:
parent
253daab50e
commit
72989fee64
2 changed files with 2 additions and 0 deletions
|
@ -51,6 +51,7 @@ finalphpconf="/etc/php5/fpm/pool.d/${app}.conf"
|
||||||
ynh_app_setting_set "$app" finalphpconf "$finalphpconf"
|
ynh_app_setting_set "$app" finalphpconf "$finalphpconf"
|
||||||
|
|
||||||
# We install dependencies
|
# 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
|
sudo apt-get install --quiet --assume-yes php5-gd php5-sqlite php5-json php5-intl
|
||||||
|
|
||||||
# Creation of folder
|
# Creation of folder
|
||||||
|
|
|
@ -51,6 +51,7 @@ fi
|
||||||
|
|
||||||
|
|
||||||
# We install dependencies
|
# 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
|
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
|
# Modify Nginx configuration file and copy it to Nginx conf directory
|
||||||
|
|
Loading…
Reference in a new issue