mirror of
https://github.com/YunoHost-Apps/spip_ynh.git
synced 2024-09-03 20:25:59 +02:00
[test] ne pas check le user
This commit is contained in:
parent
ac3448566e
commit
0a4d20e6bd
2 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ TRAP_OFF () { # Ignoring signal capture until TRAP_ON
|
|||
|
||||
CHECK_USER () { # Vérifie la validité de l'user admin
|
||||
# $1 = Variable de l'user admin.
|
||||
# ynh_user_exists "$1" || (echo "Wrong admin" >&2 && false)
|
||||
ynh_user_exists "$1" || (echo "Wrong admin" >&2 && false)
|
||||
}
|
||||
|
||||
CHECK_PATH () { # Vérifie la présence du / en début de path. Et son absence à la fin.
|
||||
|
|
|
@ -26,7 +26,7 @@ source /usr/share/yunohost/helpers
|
|||
|
||||
CHECK_VAR "$app" "app name not set"
|
||||
|
||||
CHECK_USER "$admin_spip"
|
||||
# CHECK_USER "$admin_spip"
|
||||
|
||||
CHECK_PATH
|
||||
|
||||
|
|
Loading…
Reference in a new issue