Now works with Fedora
This commit is contained in:
19
install.sh
19
install.sh
@ -1,21 +1,30 @@
|
||||
# Be fancy
|
||||
source ~/.local/share/omakub/ascii.sh
|
||||
source ~/.local/share/sunhat/bin/ascii.sh
|
||||
|
||||
# Needed for all installers
|
||||
sudo apt update -y
|
||||
sudo apt install -y curl git jq
|
||||
sudo dnf update -y
|
||||
sudo dnf install -y curl git jq
|
||||
|
||||
# Ensure computer doesn't go to sleep while installing
|
||||
gsettings set org.gnome.desktop.session idle-delay 0
|
||||
|
||||
# Run Scripts Required for Application Installs
|
||||
for script in ~/.local/share/sunhat/sources/*.sh; do source $script; done
|
||||
|
||||
# Run installers
|
||||
for script in ~/.local/share/omakub/install/*.sh; do source $script; done
|
||||
for script in ~/.local/share/sunhat/install/*.sh; do source $script; done
|
||||
|
||||
# Change GNOME settings
|
||||
for script in ~/.local/share/sunhat/settings/*.sh; do source $script; done
|
||||
|
||||
# Install GPU Drivers
|
||||
source ~/.local/share/sunhat/GPU/install.sh
|
||||
|
||||
# Revert to normal idle settings
|
||||
gsettings set org.gnome.desktop.session idle-delay 300
|
||||
|
||||
# Upgrade everything that might ask for a reboot last
|
||||
sudo apt upgrade -y
|
||||
sudo dnf update -y --refresh
|
||||
|
||||
# Reboot to pickup changes
|
||||
gum confirm "Ready to logout for all settings to take effect?" && gnome-session-quit --logout --no-prompt
|
||||
|
Reference in New Issue
Block a user