diff --git a/scripts/install b/scripts/install index feb2832..e7fcfe3 100755 --- a/scripts/install +++ b/scripts/install @@ -47,7 +47,7 @@ sudo mkdir -p $data_dir/{.session,watch,torrent} # Add rtorrent config ynh_replace_string "DATA_DIR" "$data_dir" ../sources/rtorrent.rc sudo cp ../sources/rtorrent.rc /home/flood/.rtorrent.rc -sudo chown -R flood:www-data /home/flood/.rtorrent.rc +sudo chown -R flood:www-data /home/flood/ # Permission for data_dir sudo chown -R flood:www-data $data_dir @@ -62,7 +62,7 @@ git clone https://github.com/jfurrow/flood.git /var/www/flood # Config flood ynh_replace_string "PATH_URL" "$path_url" ../sources/config.js -sudo cp ../sources/config.js flood/ +sudo cp ../sources/config.js flood/config.js sudo chown -R flood:flood flood/ # Compiling assets for Flood