1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wikijs_ynh.git synced 2024-09-03 20:36:09 +02:00

Fix bad path for the application

This commit is contained in:
Yalh 2019-01-29 22:09:48 +01:00
parent 593ad63708
commit d7b8631ee4
3 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
*~ *~
*.sw[op] *.sw[op]
*.test

View file

@ -127,7 +127,7 @@ ynh_mysql_setup_db $db_name $db_name
ynh_app_setting_set $app final_path $final_path ynh_app_setting_set $app final_path $final_path
# Download, check integrity, uncompress and patch the source from app.src # Download, check integrity, uncompress and patch the source from app.src
#ynh_setup_source "$final_path" #ynh_setup_source "$final_path"
git clone https://github.com/Requarks/wiki "$final_path/$app" git clone https://github.com/Requarks/wiki "$final_path"
#================================================= #=================================================
# NGINX CONFIGURATION # NGINX CONFIGURATION

View file

@ -77,7 +77,7 @@ path_url=$(ynh_normalize_url_path $path_url)
# Download, check integrity, uncompress and patch the source from app.src # Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source "$final_path" ynh_setup_source "$final_path"
( cd $final_path/$app && git pull ) ( cd $final_path && git pull )
#================================================= #=================================================
# NGINX CONFIGURATION # NGINX CONFIGURATION