Browse Source

You'd seen nothing !

pull/59/head
Maniack Crudelis 9 years ago
committed by GitHub
parent
commit
d3cdd40f2e
  1. 2
      scripts/_common.sh

2
scripts/_common.sh

@ -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…
Cancel
Save