1
0
Fork 0
forked from RP1/RaveOS-arch
RaveOS-arch/rp-os-ae.sh

47 lines
1.1 KiB
Bash
Raw Normal View History

2024-12-19 21:02:20 +00:00
#!/usr/bin/env bash
2024-12-21 19:59:13 +00:00
2024-12-20 20:05:31 +00:00
set -e
2024-12-21 19:59:13 +00:00
2024-12-19 20:51:55 +00:00
# RaveOS Setup Script
2024-12-21 19:59:13 +00:00
# Text Colours
2024-12-19 20:51:55 +00:00
bold=$(tput bold) # ${bold}
normal=$(tput sgr0) # ${normal}
yellow=$(tput setaf 3) # ${yellow}
2024-12-21 19:03:37 +00:00
2024-12-21 19:29:36 +00:00
echo "$USER ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/99-t
2024-12-21 19:03:37 +00:00
2024-12-19 20:51:55 +00:00
# Installing packages
2024-12-21 23:05:48 +00:00
sudo pacman -S wget unzip --noconfirm
2024-12-21 22:50:25 +00:00
2024-12-21 21:48:34 +00:00
# Downloading RavePkg
mkdir cosmetics
2024-12-21 21:58:22 +00:00
sudo chown -R $USER:$GROUP /home/$USER/cosmetics/
2024-12-21 21:48:34 +00:00
cd cosmetics
2024-12-21 22:06:16 +00:00
wget -O cosmetics.zip https://files.rp1.hu/api/public/dl/K7znaGkC/
2024-12-21 21:48:34 +00:00
unzip cosmetics.zip
2024-12-21 22:54:03 +00:00
2024-12-21 23:05:48 +00:00
2024-12-19 21:34:04 +00:00
2024-12-21 20:21:13 +00:00
echo
echo ---------------------------------------------
echo Installing ${bold}${yellow}CachyOS - Gaming Kernel${normal}
2024-12-21 21:20:54 +00:00
curl https://mirror.cachyos.org/cachyos-repo.tar.xz -o cachyos-repo.tar.xz
2024-12-21 22:54:03 +00:00
tar xvf cachyos-repo.tar.xz && cd cachyos-repo
2024-12-21 22:54:41 +00:00
cp /home/$USER/cosmetics/cachyos-repo.sh /home/$USER/cosmetics/cachyos-repo/
2024-12-21 21:20:54 +00:00
sudo ./cachyos-repo.sh
2024-12-21 23:05:48 +00:00
sleep 2
2024-12-21 21:20:54 +00:00
cd -
2024-12-21 21:06:05 +00:00
sudo pacman -S linux-cachyos linux-cachyos-headers --noconfirm
2024-12-21 20:21:13 +00:00
echo ${bold}${yellow}CachyOS - Gaming Kernel ${normal}installed.
echo ---------------------------------------------
echo
2024-12-19 20:51:55 +00:00
2024-12-21 20:21:13 +00:00
2024-12-21 19:55:50 +00:00
reboot