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

correct path to config.js

This commit is contained in:
Taker 2021-01-31 16:23:02 +01:00
parent acae323421
commit 9d11186d5f

View file

@ -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