-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup-FedoraServer.sh
More file actions
executable file
·44 lines (40 loc) · 1.28 KB
/
setup-FedoraServer.sh
File metadata and controls
executable file
·44 lines (40 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/bin/bash
source "./Common/common.sh"
source "./Common/shell.sh"
source "./Common/software.sh"
source "./Fedora/system.sh"
source "./Fedora/shell.sh"
source "./Fedora/software.sh"
while true; do
clear
echo -e "\e[35mFedora post-installation scripts.\e[0m"
echo
PS3="Select an option to run: "
options=("System setup." \
"Setup Fish shell.")
select option in "${options[@]}" "Quit."; do
case "$option" in
"${options[0]}") setupHostname;
updateDnfOptions;
setupRpmFusion;
updateSystem;
setupAutoUpdates;
installEza;
setupEza;
setupEzaBashAliasNoIcons;
installFastfetch;
setupFastfetchNoIcons;
setupBashFastfetch
installBtop;
sleep 3; break;;
"${options[1]}") installFish;
installFishTide;
setupFishAsDefaultShell;
setupEzaFishAliasNoIcons;
setupFishFastfetch;
sleep 3; break;;
"Quit.") exit;;
*) echo -e "\e[36m[\e[31mERROR\e[36m] Invalid option.\e[0m";
esac
done
done