From d7b8631ee4c8315751f4f5c3ee52d10b8c474ef1 Mon Sep 17 00:00:00 2001 From: Yalh Date: Tue, 29 Jan 2019 22:09:48 +0100 Subject: [PATCH] Fix bad path for the application --- .gitignore | 1 + scripts/install | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 783a4ae..e1ee914 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *~ *.sw[op] +*.test diff --git a/scripts/install b/scripts/install index 1a24b6e..d880c3e 100644 --- a/scripts/install +++ b/scripts/install @@ -127,7 +127,7 @@ ynh_mysql_setup_db $db_name $db_name ynh_app_setting_set $app final_path $final_path # Download, check integrity, uncompress and patch the source from app.src #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 diff --git a/scripts/upgrade b/scripts/upgrade index 2b27481..3519355 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -77,7 +77,7 @@ path_url=$(ynh_normalize_url_path $path_url) # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source "$final_path" -( cd $final_path/$app && git pull ) +( cd $final_path && git pull ) #================================================= # NGINX CONFIGURATION