-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinstall.sh
51 lines (43 loc) · 2.13 KB
/
install.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
#!/bin/bash
echo -ne "
-------------------------------------------------------------------------
█████╗ ██████╗ ██████╗██╗ ██╗ ███╗ ███╗██╗████████╗ █████╗ ███████╗
██╔══██╗██╔══██╗██╔════╝██║ ██║ ████╗ ████║██║╚══██╔══╝██╔══██╗██╔════╝
███████║██████╔╝██║ ███████║ ██╔████╔██║██║ ██║ ███████║███████╗
██╔══██║██╔══██╗██║ ██╔══██║ ██║╚██╔╝██║██║ ██║ ██╔══██║╚════██║
██║ ██║██║ ██║╚██████╗██║ ██║ ██║ ╚═╝ ██║██║ ██║ ██║ ██║███████║
╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═╝╚══════╝
-------------------------------------------------------------------------
Automated Arch Linux Scripts
By Stelios Mitas
-------------------------------------------------------------------------
"
sleep 1
# Specify the directory where the scripts are located
script_dir="Scripts"
# Define the script names
script_0="0-AUR_Install.sh"
script_1="1-WindowManager_Install.sh"
# Prompt the user to select a script
echo "Select a script to run:"
echo "1. $script_0"
echo "2. $script_1"
read -p "Enter your choice (1 or 2): " choice
case $choice in
1)
script="$script_dir/$script_0"
;;
2)
script="$script_dir/$script_1"
;;
*)
echo "Invalid choice. Exiting."
exit 1
;;
esac
if [ -f "$script" ]; then
echo "Running $script..."
bash "$script"
else
echo "Script not found: $script"
fi