mirror of
https://github.com/YunoHost-Apps/endi_ynh.git
synced 2024-09-03 18:35:54 +02:00
Fix admin creation
This commit is contained in:
parent
a22730bab6
commit
cc81bbcb93
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ _ynh_caerp_migratedb() {
|
||||||
_ynh_caerp_add_admin() {
|
_ynh_caerp_add_admin() {
|
||||||
pushd "$install_dir" 2>&1
|
pushd "$install_dir" 2>&1
|
||||||
ynh_exec_as "$app" "$install_dir/venv/bin/caerp-admin" "$install_dir/caerp.ini" \
|
ynh_exec_as "$app" "$install_dir/venv/bin/caerp-admin" "$install_dir/caerp.ini" \
|
||||||
useradd --group=admin --user="admin" --pwd="$password" --email="admin@$domain"
|
useradd --group=admin --user="$admin" --pwd="$password" --email="admin@$domain"
|
||||||
popd 2>&1
|
popd 2>&1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue