mirror of
https://github.com/YunoHost-Apps/minchat_ynh.git
synced 2024-09-03 19:36:29 +02:00
[fix] Replace Remove trailing by check_path function
This commit is contained in:
parent
85283b25fc
commit
2ea921ca9c
1 changed files with 1 additions and 4 deletions
|
@ -25,10 +25,7 @@ ynh_clean_setup () {
|
|||
}
|
||||
ynh_abort_if_errors # Active trap pour arrêter le script si une erreur est détectée.
|
||||
|
||||
# Remove trailing "/" for next commands
|
||||
if [[ ! "$path" == "/" ]]; then
|
||||
path=${path%/}
|
||||
fi
|
||||
CHECK_PATH # Checks and corrects the syntax of the path.
|
||||
|
||||
# Create system user dedicace for this app
|
||||
ynh_system_user_create $app
|
||||
|
|
Loading…
Reference in a new issue