forked from RP1/RaveOS-arch
added reflector to update script
This commit is contained in:
parent
5894ecdc14
commit
faf4a6bcb9
1 changed files with 27 additions and 16 deletions
43
rp-os-ae.sh
43
rp-os-ae.sh
|
@ -9,10 +9,20 @@ bold=$(tput bold) # ${bold}
|
||||||
normal=$(tput sgr0) # ${normal}
|
normal=$(tput sgr0) # ${normal}
|
||||||
yellow=$(tput setaf 3) # ${yellow}
|
yellow=$(tput setaf 3) # ${yellow}
|
||||||
|
|
||||||
|
# Deleting password for the script
|
||||||
|
|
||||||
|
echo "$USER ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/99-t
|
||||||
|
sudo sed -i 's/OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug lto !autodeps)/OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug !lto !autodeps)/' /etc/makepkg.conf
|
||||||
|
|
||||||
echo "$USER ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/99-t
|
flatpak installremote-add --if-not-exists --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||||
sudo sed -i 's/OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug lto !autodeps)/OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug !lto !autodeps)/' /etc/makepkg.conf
|
|
||||||
flatpak installremote-add --if-not-exists --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
# Installing reflector for updating mirrors
|
||||||
|
|
||||||
|
sudo pacman -S reflector --noconfirm
|
||||||
|
sudo reflector -c "Hungary,Austria,Germany,Czech" -f 12 -l 10 -n 12 --save /etc/pacman.d/mirrorlist
|
||||||
|
systemctl enable reflector.timer
|
||||||
|
systemctl start reflector.timer
|
||||||
|
sudo pacman -Sy
|
||||||
|
|
||||||
# Installing packages
|
# Installing packages
|
||||||
|
|
||||||
|
@ -21,7 +31,8 @@ yellow=$(tput setaf 3) # ${yellow}
|
||||||
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target geoclue.service
|
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target geoclue.service
|
||||||
hblock
|
hblock
|
||||||
|
|
||||||
# Downloading RavePkg
|
# Downloading RavePkg
|
||||||
|
|
||||||
mkdir cosmetics
|
mkdir cosmetics
|
||||||
sudo chown -R $USER:$GROUP /home/$USER/cosmetics/
|
sudo chown -R $USER:$GROUP /home/$USER/cosmetics/
|
||||||
cd cosmetics
|
cd cosmetics
|
||||||
|
@ -44,6 +55,18 @@ yellow=$(tput setaf 3) # ${yellow}
|
||||||
cd -
|
cd -
|
||||||
rm -rf yaru
|
rm -rf yaru
|
||||||
|
|
||||||
|
# Flatseal - Flatpak app jogosultság beállító
|
||||||
|
echo
|
||||||
|
echo ---------------------------------------------
|
||||||
|
echo Installing ${bold}${yellow}Flatseal${normal}
|
||||||
|
|
||||||
|
yay -S flatseal --noconfirm
|
||||||
|
sudo cp -a overrides /home/$USER/.local/share/flatpak
|
||||||
|
|
||||||
|
echo ${bold}${yellow}Flatseal ${normal}installed.
|
||||||
|
echo ---------------------------------------------
|
||||||
|
echo
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo ---------------------------------------------
|
echo ---------------------------------------------
|
||||||
echo Installing ${bold}${yellow}CachyOS - Gaming Kernel${normal}
|
echo Installing ${bold}${yellow}CachyOS - Gaming Kernel${normal}
|
||||||
|
@ -98,18 +121,6 @@ SystemAccount=false" | sudo tee /var/lib/AccountsService/users/$USER
|
||||||
echo ${bold}${yellow}Rave command with bash completion ${normal}installed.
|
echo ${bold}${yellow}Rave command with bash completion ${normal}installed.
|
||||||
echo ---------------------------------------------
|
echo ---------------------------------------------
|
||||||
|
|
||||||
# Flatseal - Flatpak app jogosultság beállító
|
|
||||||
echo
|
|
||||||
echo ---------------------------------------------
|
|
||||||
echo Installing ${bold}${yellow}Flatseal${normal}
|
|
||||||
|
|
||||||
yay -S flatseal --noconfirm
|
|
||||||
sudo cp -a overrides /home/$USER/.local/share/flatpak
|
|
||||||
|
|
||||||
echo ${bold}${yellow}Flatseal ${normal}installed.
|
|
||||||
echo ---------------------------------------------
|
|
||||||
echo
|
|
||||||
|
|
||||||
# Autostarting ProgramScript after restart
|
# Autostarting ProgramScript after restart
|
||||||
echo ---------------------------------------------
|
echo ---------------------------------------------
|
||||||
echo Installing ${bold}${yellow}ProgramScript Autostart${normal}
|
echo Installing ${bold}${yellow}ProgramScript Autostart${normal}
|
||||||
|
|
Loading…
Reference in a new issue