forked from RP1/RaveOS-arch
34 lines
No EOL
754 B
Bash
34 lines
No EOL
754 B
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}
|
|
|
|
sudo pacman -S flatpak --noconfirm
|
|
|
|
# Flatseal - Flatpak app jogosultság beállító
|
|
echo
|
|
echo ---------------------------------------------
|
|
echo Installing ${bold}${yellow}Flatseal - flatpak${normal}
|
|
|
|
flatpak install flathub com.github.tchx84.Flatseal -y
|
|
sleep 2
|
|
sudo rsync -ap --info=progress2 overrides /home/$USER/.local/share/flatpak
|
|
|
|
echo ${bold}${yellow}Flatseal ${normal}installed.
|
|
echo ---------------------------------------------
|
|
echo
|
|
|
|
|
|
|
|
# End of script
|
|
echo Reboot in 3s...
|
|
echo Reboot in 2s...
|
|
echo Reboot in 1s...
|
|
echo Reboot
|
|
reboot |