mirror of
https://github.com/YunoHost/test_apps.git
synced 2024-09-03 20:06:29 +02:00
fix test_legacy_app_failed_install
This commit is contained in:
parent
b8e316a6ef
commit
45e653a4cf
1 changed files with 3 additions and 0 deletions
|
@ -10,6 +10,9 @@ is_public=$YNH_APP_ARG_IS_PUBLIC
|
|||
# Check domain/path availability
|
||||
sudo yunohost app checkurl $domain/$path -a $app
|
||||
|
||||
# Check folder availability
|
||||
test ! -e "/var/www/$app/"
|
||||
|
||||
# Add config for nginx
|
||||
sudo sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf
|
||||
sudo sed -i "s@FOLDER@$app/@g" ../conf/nginx.conf
|
||||
|
|
Loading…
Reference in a new issue