From c19c6ffad7c7baef8ba2fa0b689ca79e691375b5 Mon Sep 17 00:00:00 2001 From: Eshan Roy <148610067+eshanized@users.noreply.github.com> Date: Thu, 1 Aug 2024 04:04:24 +0530 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=EF=B8=8F=20perf(optimize):=20compress?= =?UTF-8?q?=20and=20combine=20lines?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- usr/local/bin/snigdhaos-before | 27 ++++++++++----------------- 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/usr/local/bin/snigdhaos-before b/usr/local/bin/snigdhaos-before index 5e0621f..6016744 100755 --- a/usr/local/bin/snigdhaos-before +++ b/usr/local/bin/snigdhaos-before @@ -4,29 +4,22 @@ # Author : Eshan Roy # Author URL : https://eshanized.github.io/ -echo -echo "--->> Start snigdhaos-before <<---" -echo +echo "Starting Execution..." -echo +# Populate Developer Keys echo "Populating Developer Keys..." -echo - pacman-key --init -pacman-key --populate snigdhaos -pacman-key --populate archlinux -pacman-key --populate chaotic -echo +pacman-key --populate snigdhaos archlinux chaotic +# Copy Snigdha OS Grub Theme if not already done if [ ! -f /tmp/systemd-boot ]; then - echo "Copy Snigdha OS Grub Theme..." - mkdir -p /boot/grub/themes - cp -Rf /usr/share/grub/themes/snigdhaos-grub-theme /boot/grub/themes/ + echo "Copy Snigdha OS Grub Theme..." + mkdir -p /boot/grub/themes + cp -Rf /usr/share/grub/themes/snigdhaos-grub-theme /boot/grub/themes/ fi -echo +# Set Snigdha OS Arctic Preset echo "Setting Snigdha OS Arctic Preset..." mv -v /etc/mkinitcpio.d/snigdhaos /etc/mkinitcpio.d/linux.preset -echo -echo "--->> End snigdhaos-before <<---" -echo \ No newline at end of file + +echo "End Execution!" \ No newline at end of file