Yes, its safe. It’s mostly a hook for grub-mkconfig. You have to run this command manually along with grub-install whenever you update grub or add/remove kernels. That instructions has been conveyed in other posts and on arch news/wiki so look for instructions there.