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

12 lines
281 B
Bash

#!/bin/bash
# Copy files to the right place
final_path=/var/www/freshrss
sudo mkdir -p $final_path
sudo cp -a ../sources/* $final_path
# Delete install directive
sudo rm $final_path/data/do-install.txt
# Set permissions to freshrss directory
sudo chown -R www-data: $final_path