mirror of
https://github.com/YunoHost-Apps/flood_ynh.git
synced 2024-09-03 18:36:20 +02:00
fix copy and chmod
This commit is contained in:
parent
67d188ebe5
commit
6e4f124971
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue