1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wallabag2_ynh.git synced 2024-10-01 13:35:06 +02:00
This commit is contained in:
Kayou 2024-07-08 16:38:18 +02:00 committed by GitHub
parent 8a86f4f7cd
commit 37363a5d66
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 3 deletions

View file

@ -1,5 +1,8 @@
#!/bin/bash
# Source YunoHost helpers
source /usr/share/yunohost/helpers
app="__APP__"
user="__APP__"
install_dir=$(ynh_app_setting_get --app="$app" --key=install_dir)
@ -9,9 +12,6 @@ phpversion=$(ynh_app_setting_get --app="$app" --key=phpversion)
username=$1
user_email=$2
# Source YunoHost helpers
source /usr/share/yunohost/helpers
# Generate a random password
user_pass=$(ynh_string_random)

View file

@ -1,5 +1,8 @@
#!/bin/bash
# Source YunoHost helpers
source /usr/share/yunohost/helpers
app="__APP__"
user="__APP__"
install_dir=$(ynh_app_setting_get --app="$app" --key=install_dir)