@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,6 +1,4 @@
#!/bin/bash
#set -e
# shellcheck disable=SC2154
echo
echo "Reinstalling Grub..."
@@ -41,6 +39,7 @@ check_file
if [ $Online -eq 1 ] ; then
echo "Downloading Default Grub..."
# shellcheck disable=SC2154
sudo wget https://raw.githubusercontent.com/Snigdha-OS/snigdhaos-updater/master/grub -O "$workdir"/etc/default/grub
fi

View File

@@ -1,5 +1,4 @@
#!/bin/bash
#set -e
echo
echo "Downloading Latest pacman.conf..."

View File

@@ -1,5 +1,4 @@
#!/bin/bash
# set -e
Online=0
function check_connectivity() {

View File

@@ -1,5 +1,4 @@
#!/bin/bash
#set -e
echo
echo "Copying /etc/pacman.d/gnupg/gpg.conf"

View File

@@ -1,5 +1,4 @@
#!/bin/bash
#set -e
sudo /usr/bin/reflector --score 100 --fastest 10 --number 10 --verbose --save /etc/pacman.d/mirrorlist

View File

@@ -1,5 +1,4 @@
#!/bin/bash
#set -e
echo
echo "Applying lsb Release..."

View File

@@ -1,5 +1,4 @@
#!/bin/bash
#set -e
echo
echo "Applying OS Release..."

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

View File

@@ -1,5 +1,4 @@
#!/bin/bash
#set -e
if lsblk | grep -q "/boot/efi" ; then
echo

View File

@@ -1,5 +1,4 @@
#!/bin/bash
#set -e
echo
echo "Reinstalling Grub..."
@@ -40,6 +39,8 @@ check_file
if [ $Online -eq 1 ] ; then
echo "getting latest /etc/default/grub from github"
# shellcheck disable=SC2086
# shellcheck disable=SC2154
sudo wget https://raw.githubusercontent.com/Snigdha-OS/snigdhaos-updater/master/grub -O $workdir/etc/default/grub
fi