53 Commits

Author SHA1 Message Date
Amy
0970c05b05
install.sh: fail out on command failure
The current setup of install.sh means that all the other commands will still run if any command fails. This creates a volatile and unsafe state should something go wrong, one which may cause recovering difficulties depending on the type of failure.

This patch fixes that problem by adding the "set -e" command to the beginning of the script. This command will cause the script to exit if a command fails.

Signed-off-by: Amy Parker <apark0006@student.cerritos.edu>
2023-07-19 20:35:56 -07:00
Amy
bd815bf26a
install.sh: properly handle superuser permissions
This script is based around having superuser permissions. The way it handles them is by using `sudo`. This has two main problems:

1. It could potentially require someone to input their password many, many times depending on their sudo configuration.
2. Even when running as root, the script will break for anyone without sudo installed.

The way to fix this is simple: require the script itself be run as root instead of using sudo. 

This patch adds a check at the beginning which verifies if the user is root. If the user is not root, it explains what must be done to rectify the problem. It then also removes all usages of sudo throughout the script.

This also aligns the script with more typical scriptwriting conventions, overall improving the quality of the script.
2023-07-19 20:32:49 -07:00
dinger1986
88ab17c248
Update install.sh 2023-03-15 20:09:31 +00:00
PolisanTheEasyNick
6bcaabdfb8
Add support for aarch64 2023-03-02 13:01:19 +02:00
dinger1986
2cde345ee0
Update install.sh 2023-01-23 14:13:18 +00:00
dinger1986
d395487354
Update install.sh 2023-01-23 13:51:16 +00:00
dinger1986
bfd20819bf
Update install.sh 2023-01-23 13:39:19 +00:00
Henry Chen
e617f99fb8 optimize arch based OS judge 2023-01-10 16:59:33 +08:00
Henry Chen
1cb7bb73d1 support arch based OS manjaro 2023-01-10 16:02:41 +08:00
dinger1986
5704c0433a
Update install.sh 2022-11-10 18:40:58 +00:00
dinger1986
f87a8d55e7
Update install.sh 2022-11-10 16:25:29 +00:00
dinger1986
0934fe0e57
Update install.sh 2022-11-10 15:06:09 +00:00
dinger1986
ac36eb41bc
Update install.sh 2022-11-09 19:29:23 +00:00
dinger1986
acbdc48f06
Update install.sh 2022-11-07 15:38:10 +00:00
shykeiichi
6adefa9784 Added arch as a supported OS 2022-08-31 00:14:00 +02:00
dinger1986
9976d34cda
Update install.sh 2022-08-13 23:08:33 +01:00
dinger1986
0241d9b6c3
Update install.sh 2022-08-12 15:58:37 +01:00
dinger1986
a0ab2f16f9
Update install.sh 2022-08-12 15:29:22 +01:00
dinger1986
98e070f9ae
Update install.sh 2022-08-12 15:27:00 +01:00
dinger1986
dbd903976d
Update install.sh 2022-08-12 15:20:17 +01:00
dinger1986
706bf581c5
Update install.sh 2022-08-12 15:17:47 +01:00
dinger1986
4977bd764c
Update install.sh 2022-08-12 15:11:26 +01:00
Phil Clifford
fc9a935121 conform case 2022-08-12 12:55:47 +01:00
Phil Clifford
f511867dc8 And working on centos-stream 9.0 2022-08-12 03:51:16 +01:00
Phil Clifford
91584fed55 Now working on Debian too 2022-08-12 03:10:00 +01:00
Phil Clifford
303c19668a Some tweaks
tested and working on ZorinOS and Pop!
2022-08-12 00:55:04 +01:00
Phil Clifford
cf592f34c3 some typos and sudos removed 2022-08-11 18:28:00 +01:00
Phil Clifford
4f9c175355 A few suggestions that might
help improve/extend OS detection/support
install more of the dependencies - curl and wget were missing
2022-08-11 17:42:28 +01:00
dinger1986
59ee76784a
Update install.sh 2022-08-10 22:55:22 +01:00
dinger1986
c33cbc1d5f
Update install.sh 2022-08-10 18:46:57 +01:00
dinger1986
3fa7b0b84b
Update install.sh 2022-08-10 18:43:17 +01:00
dinger1986
6fcebde128
Update install.sh 2022-08-10 18:29:07 +01:00
dinger1986
8b65e3b46c
Update install.sh 2022-08-10 18:23:39 +01:00
dinger1986
bfd977f573
Update install.sh 2022-08-10 18:19:46 +01:00
dinger1986
d02d7af640
Update install.sh 2022-08-10 13:17:11 +01:00
dinger1986
2a76fd7ead
Update install.sh 2022-08-10 13:01:14 +01:00
dinger1986
c6c1acbac9
Update install.sh 2022-08-10 09:19:19 +01:00
dinger1986
8092893399
Update install.sh 2022-08-10 00:36:00 +01:00
dinger1986
8b2cb50fe4
Update install.sh 2022-08-10 00:26:47 +01:00
dinger1986
5cf465f34f
Update install.sh 2022-08-09 23:23:36 +01:00
dinger1986
30ea993af3
Update install.sh 2022-08-03 23:09:22 +01:00
dinger1986
0495a5d992
Update install.sh 2022-08-03 22:52:56 +01:00
dinger1986
82646d587d
Update install.sh 2022-06-06 23:13:39 +01:00
dinger1986
bc0d4ad7ed
Update install.sh 2022-06-06 23:05:51 +01:00
dinger1986
0d488a6266
Update install.sh 2022-06-06 22:32:07 +01:00
dinger1986
a825cece28
Update install.sh 2022-06-06 22:26:15 +01:00
dinger1986
6172d6c6eb
Update install.sh 2022-06-06 22:24:02 +01:00
dinger1986
ceb2de0de9
Update install.sh 2022-06-06 21:47:27 +01:00
dinger1986
74edeb9ceb
Update install.sh 2022-06-06 21:45:17 +01:00
dinger1986
22821eb09f
Update install.sh 2022-06-06 21:40:16 +01:00