update-grub ist z.B. in Debian und ubuntu nur ein Script, das man sich unter OpenSuse z.B. als root mit* nano /usr/sbin/update-grub* selbst erstellen kann. Der Inhalt ist dann z.B.:
#!/bin/sh
set -e
exec grub2-mkconfig -o /boot/grub2/grub.cfg “$@”
Dann noch mit *chmod +x **/usr/sbin/update-grub *ausführbar machen, fertig.
What, your cat has fleas! Why that’s terrible! j/k lol!
IIRC update-grub is an Ubuntu thing … whereas openSUSE, Fedora, … use grub2-mkconfig … BTW, it is specifically mentioned to use that later command within the comments section of the /etc/default/grub file