1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00

You'd seen nothing !

This commit is contained in:
Maniack Crudelis 2017-09-23 14:12:57 +02:00 committed by GitHub
parent f83dd8d1d9
commit d3cdd40f2e

View file

@ -201,10 +201,8 @@ ynh_handle_app_migration () {
old_label=$(ynh_app_setting_get $new_app label)
if [ "${old_label,,}" == "$old_app_id" ]
then
echo "new=$new_app_id"
# Build the new label from the id of the app. With the first character as upper case
new_label=$(echo $new_app_id | cut -c1 | tr [:lower:] [:upper:])$(echo $new_app_id | cut -c2-)
echo "new_label=$new_label"
ynh_app_setting_set $new_app label $new_label
fi