mirror of
https://github.com/Snigdha-OS/snigdhaos-system-installation.git
synced 2026-01-03 08:03:51 +01:00
25 lines
678 B
Bash
Executable File
25 lines
678 B
Bash
Executable File
#!/bin/bash
|
|
# set -e
|
|
|
|
# Author : Eshan Roy <eshan@snigdhaos.or>
|
|
# Author URL : https://eshanized.github.io/
|
|
|
|
echo "Starting Execution..."
|
|
|
|
# Populate Developer Keys
|
|
echo "Populating Developer Keys..."
|
|
pacman-key --init
|
|
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/
|
|
fi
|
|
|
|
# Set Snigdha OS Arctic Preset
|
|
echo "Setting Snigdha OS Arctic Preset..."
|
|
mv -v /etc/mkinitcpio.d/snigdhaos /etc/mkinitcpio.d/linux.preset
|
|
|
|
echo "End Execution!" |