mirror of
https://github.com/YunoHost-Apps/xbackbone_ynh.git
synced 2024-09-03 19:15:53 +02:00
Knew i wouldnt get it first shot but dang
This commit is contained in:
parent
8683ecfa2b
commit
c94d66fec5
1 changed files with 7 additions and 2 deletions
|
@ -41,7 +41,11 @@ ynh_add_nginx_config
|
|||
#=================================================
|
||||
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
||||
|
||||
if "$path" == "/" then ynh_add_config --template="../conf/config-subdomain.php" --destination="$install_dir/config.php" else ynh_add_config --template="../conf/config-withpath.php" fi
|
||||
if [ "$path" == "/" ]; then
|
||||
ynh_add_config --template="../conf/config-subdomain.php" --destination="$install_dir/config.php"
|
||||
else
|
||||
ynh_add_config --template="../conf/config-withpath.php" --destination="$install_dir/config.php"
|
||||
fi
|
||||
|
||||
chmod 400 "$install_dir/config.php"
|
||||
chown $app:$app "$install_dir/config.php"
|
||||
|
@ -60,3 +64,4 @@ popd
|
|||
#=================================================
|
||||
|
||||
ynh_script_progression --message="Installation of $app completed" --last
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue