mirror of
https://github.com/YunoHost-Apps/cops_ynh.git
synced 2024-09-03 18:25:57 +02:00
Add --assume-yes for apt-get install dependencies
This commit is contained in:
parent
ccdc963935
commit
16763221db
3 changed files with 3 additions and 3 deletions
|
@ -43,7 +43,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 install --quiet 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
|
||||||
#sudo rm -rf $final_path
|
#sudo rm -rf $final_path
|
||||||
|
|
|
@ -27,7 +27,7 @@ runninguser=$(ynh_app_setting_get $app runninguser)
|
||||||
# || ynh_die "Path not available: ${domain}${path}"
|
# || ynh_die "Path not available: ${domain}${path}"
|
||||||
|
|
||||||
# We install dependencies
|
# We install dependencies
|
||||||
sudo apt-get install --quiet php5-gd php5-sqlite php5-json php5-intl
|
sudo apt-get install --quiet --assume-yes php5-gd php5-sqlite php5-json php5-intl
|
||||||
|
|
||||||
# Restore sources & data
|
# Restore sources & data
|
||||||
sudo mkdir -p $final_path
|
sudo mkdir -p $final_path
|
||||||
|
|
|
@ -25,7 +25,7 @@ finalphpconf=$(ynh_app_setting_get $app finalphpconf)
|
||||||
runninguser=$(ynh_app_setting_get $app runninguser)
|
runninguser=$(ynh_app_setting_get $app runninguser)
|
||||||
|
|
||||||
# We install dependencies
|
# We install dependencies
|
||||||
sudo apt-get install --quiet 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
|
||||||
sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf
|
sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf
|
||||||
|
|
Loading…
Reference in a new issue