mirror of
https://github.com/YunoHost-Apps/freshrss_ynh.git
synced 2024-09-03 18:36:33 +02:00
caa1239300
* Upgrade to version 1.20.1 (#155) * Upgrade to v1.20.1 * Auto-update README Co-authored-by: yunohost-bot <yunohost-bot@users.noreply.github.com> Co-authored-by: yunohost-bot <yunohost@yunohost.org> * Upgrade to v1.20.2 * Auto-update README * [autopatch] Upgrade auto-updater * Auto-update README * Upgrade to v1.21.0 * Auto-update README * Version 2 (#163) * v2 * v2 * Auto-update README * Update manifest.toml * cleaning * Update upgrade * manifest: we probably want actual bools for permissions auth_header / show_tile / protected * "additional_urls" should be a list * Update manifest.toml * cleaning * PHP 8.1 (security fixes) (#165) * Update to php8.1 * Auto-update README --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> --------- Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org> Co-authored-by: lapineige <lapineige@users.noreply.github.com> * Update manifest.toml * Update DESCRIPTION_fr.md * Auto-update README * cleaning * add link --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: yunohost-bot <yunohost-bot@users.noreply.github.com> Co-authored-by: yunohost-bot <yunohost@yunohost.org> Co-authored-by: Clément <clement@plopoyop.me> Co-authored-by: tituspijean <titus@pijean.ovh> Co-authored-by: lapineige <lapineige@users.noreply.github.com> Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
17 lines
406 B
Bash
Executable file
17 lines
406 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -a
|
|
source /usr/share/yunohost/helpers
|
|
|
|
app=$1
|
|
new_users=$2
|
|
|
|
if [[ "${0//.\/50-}" = "$app" ]]; then
|
|
install_dir=$(ynh_app_setting_get --app=$app --key=install_dir)
|
|
|
|
for user in $(echo "$new_users" | sed "s/,/ /g")
|
|
do
|
|
user_token=$(ynh_string_random)
|
|
sudo -u $app $install_dir/cli/create-user.php --user $user --language en --token $user_token
|
|
done
|
|
fi
|