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

sed foireux et copier coller raté

This commit is contained in:
plopoyop 2014-07-23 16:04:02 +02:00
parent 3179850f42
commit 1ffce50b71

View file

@ -33,7 +33,7 @@ sudo sed -i "s/yunouser/$db_user/g" $final_path/data/config.php
sudo sed -i "s/yunopass/$db_pwd/g" $final_path/data/config.php
sudo sed -i "s/yunobase/$db_user/g" $final_path/data/config.php
sudo sed -i "s/yunosalt/$app_salt/g" $final_path/data/config.php
sudo sed -i "s/yunopath/$path/g" $final_path/data/config.php
sudo sed -i "s@yunopath@$path@g" $final_path/data/config.php
sudo sed -i "s/yunoadminuser/$admin_user/g" $final_path/data/config.php
# Add users
@ -70,7 +70,7 @@ sudo apt-get update
sudo apt-get install -y php5-cli
#install update cron
echo "*/10 * * * * www-data /usr/bin/php $final_path/app/actualize_script.php >/tmp/FreshRSS.log 2>&1" > /tmp/cronfreshrss
sudo mv /tmp/cronttrss /etc/cron.d/freshrss
sudo mv /tmp/cronfreshrss /etc/cron.d/freshrss
sudo chown root /etc/cron.d/freshrss
# Set permissions to freshrss directory