1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nodebb_ynh.git synced 2024-09-03 19:46:29 +02:00

Update _common.sh

This commit is contained in:
frju365 2017-12-28 16:23:13 +01:00 committed by GitHub
parent a8eea7b32c
commit 224bda40da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -563,4 +563,5 @@ $(yunohost tools diagnosis | grep -B 100 "services:" | sed '/services:/d')"
# | arg: file - The file for which the checksum will be deleted
ynh_delete_file_checksum () {
local checksum_setting_name=checksum_${1//[\/ ]/_} # Replace all '/' and ' ' by '_'
ynh_app_setting_delete $app $checksum_setting_name
ynh_app_setting_delete $app $checksum_setting_name
}