Hi, I think it will work like: if [ "x${NAME}" = "xopenSUSE" ]; then GRUB_DISTRIBUTOR="${PRETTY_NAME}" else GRUB_DISTRIBUTOR="${NAME} ${VERSION}" I am going to test the patch based on above conditions. https://build.opensuse.org/package/view_file/home:michael-chang:branches:Base:System/grub2/grub2-default-distributor.patch?expand=1 Thanks.