mirror of
https://github.com/YunoHost-Apps/endi_ynh.git
synced 2024-09-03 18:35:54 +02:00
coding style
This commit is contained in:
parent
bf081da9b1
commit
786e748439
1 changed files with 2 additions and 2 deletions
|
@ -45,14 +45,14 @@ _ynh_caerp_build_python() {
|
||||||
|
|
||||||
_ynh_caerp_migratedb() {
|
_ynh_caerp_migratedb() {
|
||||||
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" \
|
||||||
syncdb
|
syncdb
|
||||||
popd 2>&1
|
popd 2>&1
|
||||||
}
|
}
|
||||||
|
|
||||||
_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