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:
parent
acae323421
commit
9d11186d5f
1 changed files with 3 additions and 5 deletions
|
@ -24,7 +24,6 @@ ynh_webpath_register $app $domain $path_url
|
|||
final_path=/var/www/$app
|
||||
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
|
||||
ynh_app_setting_set $app data_dir $data_dir
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue