From 9d11186d5fadb4306e28a7960cae4f54699476ed Mon Sep 17 00:00:00 2001 From: Taker Date: Sun, 31 Jan 2021 16:23:02 +0100 Subject: [PATCH] correct path to config.js --- scripts/install | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/scripts/install b/scripts/install index 109cca7..db722db 100755 --- a/scripts/install +++ b/scripts/install @@ -22,8 +22,7 @@ ynh_webpath_available $domain $path_url ynh_webpath_register $app $domain $path_url final_path=/var/www/$app -test ! -e "$final_path" || ynh_die "Ce dossier existe déjà." - +test ! -e "$final_path" || ynh_die "Ce dossier existe déjà." ynh_app_setting_set $app domain $domain ynh_app_setting_set $app path $path_url @@ -37,7 +36,6 @@ ynh_app_setting_set $app port $port # Install de dependencies ynh_install_app_dependencies build-essential subversion autoconf g++ gcc curl comerr-dev pkg-config libtool libssl-dev libncurses5-dev ncurses-term libsigc++-2.0-dev libcppunit-dev libcurl4 libcurl4-openssl-dev mediainfo rtorrent - sudo ldconfig # Create flood user @@ -64,8 +62,8 @@ cd /var/www git clone https://github.com/jfurrow/flood.git # Config flood -ynh_replace_string "PATH_URL" "$path_url" ../sources/config.js -sudo cp ../sources/rtorrent.rc flood/ +ynh_replace_string "PATH_URL" "$path_url" ../conf/config.js +sudo cp ../conf/config.js flood/ sudo chown -R flood:flood flood/ # Compiling assets for Flood