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:
parent
f83dd8d1d9
commit
d3cdd40f2e
1 changed files with 0 additions and 2 deletions
|
@ -201,10 +201,8 @@ ynh_handle_app_migration () {
|
||||||
old_label=$(ynh_app_setting_get $new_app label)
|
old_label=$(ynh_app_setting_get $new_app label)
|
||||||
if [ "${old_label,,}" == "$old_app_id" ]
|
if [ "${old_label,,}" == "$old_app_id" ]
|
||||||
then
|
then
|
||||||
echo "new=$new_app_id"
|
|
||||||
# Build the new label from the id of the app. With the first character as upper case
|
# 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-)
|
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
|
ynh_app_setting_set $new_app label $new_label
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue