Update install.sh
This commit is contained in:
parent
c931e94696
commit
e82548333b
@ -43,14 +43,14 @@ echo "$HAXHQ_RUNAS ALL=(root) NOPASSWD: /usr/bin/ln -s -f /etc/nginx/sites-avail
|
||||
echo "$HAXHQ_RUNAS ALL=(root) NOPASSWD: /usr/bin/ln -s -f /etc/nginx/sites-available/haxhq-certauth /etc/nginx/sites-enabled/haxhq" >> /etc/sudoers.d/"$HAXHQ_RUNAS"
|
||||
chmod 0440 /etc/sudoers.d/"$HAXHQ_RUNAS"
|
||||
## setup CA
|
||||
if git clone -b haxhq https://git.mitev.net/haxhq/easyrsa.git "$CADIR"; then
|
||||
if git clone -b haxhq https://git.mitev.net/nik/easyrsa.git "$CADIR"; then
|
||||
echo 'Repository cloned'
|
||||
else
|
||||
echo 'Failed to clone haxhq repository'
|
||||
exit 1
|
||||
fi
|
||||
# setup HaxHQ
|
||||
if git clone https://git.mitev.net/haxhq/"$REPO" "$INSTALLDIR"; then
|
||||
if git clone https://git.mitev.net/nik/"$REPO" "$INSTALLDIR"; then
|
||||
echo 'Repository cloned'
|
||||
else
|
||||
echo 'Failed to clone haxhq repository'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user