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

@ -24,7 +24,6 @@ ynh_webpath_register $app $domain $path_url
final_path=/var/www/$app 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 domain $domain
ynh_app_setting_set $app path $path_url ynh_app_setting_set $app path $path_url
ynh_app_setting_set $app data_dir $data_dir ynh_app_setting_set $app data_dir $data_dir
@ -37,7 +36,6 @@ ynh_app_setting_set $app port $port
# Install de dependencies # 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 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 sudo ldconfig
# Create flood user # Create flood user
@ -64,8 +62,8 @@ cd /var/www
git clone https://github.com/jfurrow/flood.git git clone https://github.com/jfurrow/flood.git
# Config flood # Config flood
ynh_replace_string "PATH_URL" "$path_url" ../sources/config.js ynh_replace_string "PATH_URL" "$path_url" ../conf/config.js
sudo cp ../sources/rtorrent.rc flood/ sudo cp ../conf/config.js flood/
sudo chown -R flood:flood flood/ sudo chown -R flood:flood flood/
# Compiling assets for Flood # Compiling assets for Flood