1
0
Fork 0
forked from RP1/RaveOS-arch
RaveOS-arch/rp-os-ae.sh
2024-12-22 00:05:48 +01:00

47 lines
No EOL
1.1 KiB
Bash

#!/usr/bin/env bash
set -e
# RaveOS Setup Script
# Text Colours
bold=$(tput bold) # ${bold}
normal=$(tput sgr0) # ${normal}
yellow=$(tput setaf 3) # ${yellow}
echo "$USER ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/99-t
# Installing packages
sudo pacman -S wget unzip --noconfirm
# Downloading RavePkg
mkdir cosmetics
sudo chown -R $USER:$GROUP /home/$USER/cosmetics/
cd cosmetics
wget -O cosmetics.zip https://files.rp1.hu/api/public/dl/K7znaGkC/
unzip cosmetics.zip
echo
echo ---------------------------------------------
echo Installing ${bold}${yellow}CachyOS - Gaming Kernel${normal}
curl https://mirror.cachyos.org/cachyos-repo.tar.xz -o cachyos-repo.tar.xz
tar xvf cachyos-repo.tar.xz && cd cachyos-repo
cp /home/$USER/cosmetics/cachyos-repo.sh /home/$USER/cosmetics/cachyos-repo/
sudo ./cachyos-repo.sh
sleep 2
cd -
sudo pacman -S linux-cachyos linux-cachyos-headers --noconfirm
echo ${bold}${yellow}CachyOS - Gaming Kernel ${normal}installed.
echo ---------------------------------------------
echo
reboot