-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall
More file actions
executable file
·49 lines (41 loc) · 1.09 KB
/
Copy pathinstall
File metadata and controls
executable file
·49 lines (41 loc) · 1.09 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
45
46
47
48
49
#!/usr/bin/env bash
set -euo pipefail
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
INSTALL_DIR="$ROOT_DIR/scripts/install"
STEPS_DIR="$INSTALL_DIR/steps"
source "$INSTALL_DIR/lib/common"
read_system_pass
read_luks_pass
read_git_config
setup_git_user
STEPS=(
"$STEPS_DIR/00-setup-pacman"
"$STEPS_DIR/05-setup-fde"
"$STEPS_DIR/07-setup-snapper"
"$STEPS_DIR/10-install-packages"
"$STEPS_DIR/15-setup-dms"
"$STEPS_DIR/20-deploy-configs"
"$STEPS_DIR/25-restart-portals"
"$STEPS_DIR/30-setup-backgrounds"
"$STEPS_DIR/35-setup-theming"
"$STEPS_DIR/40-setup-shell"
"$STEPS_DIR/45-setup-keyring"
"$STEPS_DIR/50-setup-tools"
"$STEPS_DIR/55-setup-lazyvim"
"$STEPS_DIR/60-setup-dev"
"$STEPS_DIR/65-setup-vscodium"
"$STEPS_DIR/70-setup-zed"
"$STEPS_DIR/75-setup-browser"
"$STEPS_DIR/80-setup-desktop-entries"
"$STEPS_DIR/85-optimize-system"
"$STEPS_DIR/90-post-install"
)
for step in "${STEPS[@]}"; do
if [[ ! -x "$step" ]]; then
die "Step not found or not executable: $step"
fi
log "Running $(basename "$step")"
bash "$step"
done
cleanup_all
log "Done"