-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun.sh
executable file
·57 lines (40 loc) · 1.42 KB
/
run.sh
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
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/usr/bin/env bash
RED='\e[1;91m'
GREEN='\e[1;92m'
BLUE='\e[1;94m'
ORANGE='\e[1;93m'
NO_COLOR='\e[0m'
# Change directory to the "Downloads" directory
cd "$HOME/Downloads/post-install-fedora"
# Make all files in src/ directory executable
echo -e "${GREEN}[INFO] - Making all files in src/ directory executable...${NO_COLOR}"
chmod +x ./src/*
echo -e "${GREEN}[INFO] - Optimizing DNF configuration...${NO_COLOR}"
sleep 2
# Run the DNF configuration optimization script
./src/dnf-config.sh
echo -e "${GREEN}[INFO] - Post-installation script will be executed.${NO_COLOR}"
sleep 2
# Add after making scripts executable and before running post-install.sh
echo -e "${GREEN}[INFO] - Configuring .bash_aliases in .bashrc...${NO_COLOR}"
sleep 2
# Run the .bash_aliases script
./src/alias.sh
# Run the post-install script
./src/post-install.sh
echo -e "${GREEN}[INFO] - .bash_aliases script will be executed.${NO_COLOR}"
sleep 2
echo -e "${PURPLE}[INFO] - Now some additional steps will be executed.${NO_COLOR}"
sleep 2
# Add update.sh, syncthingStatus.sh and swapAudio. to home directory
./src/homeScript.sh
# Clone all repositories from USER on GitHub #
./src/githubCloneAndConfig.sh
# Add some development tools like node, npm, nvm, dotnet, EntityFramework...
./src/devEnv.sh
# Alt + tab config
./src/altTab.sh
# create fastfetch config file
fastfetch --gen-config
echo -e "${GREEN}[SUCCESS] --- | --- | --- [SUCCESS]${NO_COLOR}"
sleep 2