mirror of
https://github.com/YunoHost-Apps/freshrss_ynh.git
synced 2024-09-03 18:36:33 +02:00
add helpers loading
This commit is contained in:
parent
fa3d251b67
commit
093d32f63a
2 changed files with 6 additions and 0 deletions
|
@ -4,6 +4,9 @@ app=$1
|
|||
new_users=$2
|
||||
app_path=/var/www/freshrss
|
||||
|
||||
# Source app helpers
|
||||
. /usr/share/yunohost/helpers
|
||||
|
||||
|
||||
if [[ "freshrss" = "$app" ]];
|
||||
then
|
||||
|
|
|
@ -3,6 +3,9 @@ app_path=/var/www/freshrss
|
|||
|
||||
myuser=$1
|
||||
|
||||
# Source app helpers
|
||||
. /usr/share/yunohost/helpers
|
||||
|
||||
user_token=$(ynh_string_random)
|
||||
$app_path/cli/create-user.php --user $myuser --language en --token $user_token --no-default-feeds
|
||||
sudo chown -R www-data: $app_path/data/users/$myuser/
|
||||
|
|
Loading…
Reference in a new issue