@eshanized: push via push.sh 🎉 !!!

This commit is contained in:
2024-03-07 16:59:06 +05:30
parent 9c82781ab0
commit cdd0cb0bad
10 changed files with 4 additions and 12 deletions

View File

@@ -1,10 +1,9 @@
#!/bin/bash
#set -e
boot=$(bootctl status | grep Product | awk '{printf($2)}')
echo "The system is using $boot to boot."
# shellcheck disable=SC2086
if [ $boot = "GRUB" ]; then
/usr/bin/grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=snigdhaos --disable-shim-lock --removable
fi