forked from picodotdev/alis
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdownload-sid.sh
More file actions
executable file
·60 lines (48 loc) · 1.78 KB
/
download-sid.sh
File metadata and controls
executable file
·60 lines (48 loc) · 1.78 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
50
51
52
53
54
55
56
57
58
59
60
#!/usr/bin/env bash
set -e
# Arch Linux Install Script (alis) installs unattended, automated
# and customized Arch Linux system.
# Copyright (C) 2021 picodotdev
GITHUB_USER="picodotdev"
BRANCH="sid"
while getopts "u:" arg; do
case ${arg} in
u)
GITHUB_USER=${OPTARG}
;;
?)
echo "Invalid option: -${OPTARG}."
exit 1
;;
esac
done
rm -f alis.conf
rm -f alis.sh
rm -f alis-asciinema.sh
rm -f alis-reboot.sh
rm -f alis-recovery.conf
rm -f alis-recovery.sh
rm -f alis-recovery-asciinema.sh
rm -f alis-recovery-reboot.sh
rm -f alis-packages.conf
rm -f alis-packages.sh
rm -f alis-packages-asciinema.sh
curl -O https://raw.githubusercontent.com/$GITHUB_USER/alis/$BRANCH/alis.conf
curl -O https://raw.githubusercontent.com/$GITHUB_USER/alis/$BRANCH/alis.sh
curl -O https://raw.githubusercontent.com/$GITHUB_USER/alis/$BRANCH/alis-asciinema.sh
curl -O https://raw.githubusercontent.com/$GITHUB_USER/alis/$BRANCH/alis-reboot.sh
curl -O https://raw.githubusercontent.com/$GITHUB_USER/alis/$BRANCH/alis-recovery.conf
curl -O https://raw.githubusercontent.com/$GITHUB_USER/alis/$BRANCH/alis-recovery.sh
curl -O https://raw.githubusercontent.com/$GITHUB_USER/alis/$BRANCH/alis-recovery-asciinema.sh
curl -O https://raw.githubusercontent.com/$GITHUB_USER/alis/$BRANCH/alis-recovery-reboot.sh
curl -O https://raw.githubusercontent.com/$GITHUB_USER/alis/$BRANCH/alis-packages.conf
curl -O https://raw.githubusercontent.com/$GITHUB_USER/alis/$BRANCH/alis-packages.sh
curl -O https://raw.githubusercontent.com/$GITHUB_USER/alis/$BRANCH/alis-packages-asciinema.sh
chmod +x alis.sh
chmod +x alis-asciinema.sh
chmod +x alis-reboot.sh
chmod +x alis-recovery.sh
chmod +x alis-recovery-asciinema.sh
chmod +x alis-recovery-reboot.sh
chmod +x alis-packages.sh
chmod +x alis-packages-asciinema.sh