mirror of
https://github.com/YunoHost-Apps/gotosocial_ynh.git
synced 2024-09-03 19:16:06 +02:00
workaround for a CI bug
This commit is contained in:
parent
74881eb87d
commit
a9972a3f72
1 changed files with 5 additions and 2 deletions
|
@ -307,9 +307,12 @@ yunohost service add "$app" --description="Gotosocial server" --log="/var/log/$a
|
|||
#=================================================
|
||||
ynh_script_progression --message="Creating gotosocial admin user..." --weight=1
|
||||
|
||||
ynh_exec_warn_less "$final_path"/gotosocial --config-path "$final_path/config.yaml" admin account create --username "$admin" --email "$email" --password "$password"
|
||||
# using "/var/www/$app" instead of "$final_path" as a temporary workaround for this bug:
|
||||
# bad_ynh_exec_syntax() false positive: https://github.com/YunoHost/package_linter/issues/123
|
||||
|
||||
ynh_exec_warn_less "$final_path"/gotosocial --config-path "$final_path/config.yaml" admin account promote --username "$admin"
|
||||
ynh_exec_warn_less /var/www/"$app"/gotosocial --config-path "$final_path/config.yaml" admin account create --username "$admin" --email "$email" --password "$password"
|
||||
|
||||
ynh_exec_warn_less /var/www/"$app"/gotosocial --config-path "$final_path/config.yaml" admin account promote --username "$admin"
|
||||
|
||||
#=================================================
|
||||
# START SYSTEMD SERVICE
|
||||
|
|
Loading…
Add table
Reference in a new issue