1
0
Fork 0
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:
magikcypress 2017-05-08 20:38:26 +02:00
parent 85283b25fc
commit 2ea921ca9c

View file

@ -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