diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index f5ea403..2888aed 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -1053,11 +1053,8 @@ create_name_desktop () { DESKTOP_NAME_FILE="${DESKTOP_NAME_FILE//.desktop/}" fi - if [[ -z $PORTWINE_DB ]] ; then - PORTWINE_DB_DESKTOP="$(basename "${portwine_exe%.[Ee][Xx][Ee]}")" - else - PORTWINE_DB_DESKTOP="$PORTWINE_DB" - fi + PORTWINE_DB_DESKTOP="$(basename "${portwine_exe%.[Ee][Xx][Ee]}")" + if [[ -n $PORTPROTON_NAME ]] ; then PORTPROTON_NAME_ABBR=$(make_abbreviation "$PORTPROTON_NAME") PORTPROTON_NAME_ACRO=$(make_acronym "$PORTPROTON_NAME")