Commit Graph

71 Commits

Author SHA1 Message Date
dinger1986
9424764efa Merge pull request #99 from justokaou/fix-install-no-sudo
feat: add --no-sudo option with automatic fallback
2025-08-22 09:32:16 +01:00
dinger1986
e353ccd085 Update install.sh 2025-08-21 16:04:16 +01:00
justokaou
65336d684b feat: add --no-sudo option with automatic fallback if sudo is unavailable 2025-05-30 13:32:24 +02:00
dinger1986
da5f7984a4 Update install.sh 2024-12-08 10:06:17 +00:00
dinger1986
d15ba9c36f Update install.sh 2024-08-08 11:29:53 +01:00
Raphael
2062b332bb Update install.sh
Added the relay server to the configuration string. It uses the "wanip" or IP/DNS set by the user when running the script.
2024-08-02 18:23:59 -04:00
Silvestre Espinoza
1d63bdfd81 Dont assume the Group name is the same as the users name
This causes the services to fail if that group does not exist.
2024-08-01 11:05:37 -05:00
dinger1986
c887c62271 Update install.sh 2024-06-27 13:44:37 +01:00
dinger1986
3f146ee7d6 Update install.sh 2024-04-05 16:06:11 +01:00
gitondezhuts
87997d1c7b Update install.sh 2024-03-15 10:53:32 +00:00
gitondezhuts
34dce8acf7 Update install.sh 2024-03-15 10:52:08 +00:00
dinger1986
7707726d6d Merge pull request #64 from Brainhub24/master
Typo issue
2024-02-04 20:34:56 +00:00
carefreepineapple
d4da69dd84 added unattended installation options 2023-09-19 15:56:08 -04:00
Jan Gebser
07e8ec8fd1 Update install.sh
A small typo has been corrected.
2023-08-22 13:14:26 +02:00
dinger1986
e79ff74f61 Update install.sh
reverting script to include sudo as if ran by root then whoami doesnt work right!
2023-07-22 22:49:40 +01:00
dinger1986
402eca59b2 Update install.sh 2023-07-22 22:49:02 +01:00
dinger1986
8232f56757 Update install.sh
removed fail out as if the zip file is removed it will fail out, so best to leave it out, not been reports of issues which require this
2023-07-21 13:19:27 +01:00
Amy
90dee5520e install.sh: allow user to continue without dependencies
There is currently a comment indicating a potential future implementation of a system to allow users on unsupported operating systems to continue without all necessary dependencies installed.

This patch implements that feature.

Signed-off-by: Amy Parker <apark0006@student.cerritos.edu>
2023-07-19 20:41:35 -07:00
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