-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathupdate.sh
More file actions
executable file
·30 lines (26 loc) · 993 Bytes
/
update.sh
File metadata and controls
executable file
·30 lines (26 loc) · 993 Bytes
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
#!/usr/bin/env bash
# this File is part of OpenVPN-WebAdmin - (c) 2026 OpenVPN-WebAdmin
#
# NOTICE OF LICENSE
#
# GNU AFFERO GENERAL PUBLIC LICENSE V3
# that is bundled with this package in the file LICENSE.md.
# It is also available through the world-wide-web at this URL:
# https://www.gnu.org/licenses/agpl-3.0.en.html
#
# @fork Original Idea and parts in this script from: https://github.com/Chocobozzz/OpenVPN-Admin
#
# @author Wutze
# @copyright 2026 OpenVPN-WebAdmin
# @link https://github.com/Wutze/OpenVPN-WebAdmin
# @see Internal Documentation ~/doc/
# @version 2.0.0
# @todo new issues report here please https://github.com/Wutze/OpenVPN-WebAdmin/issues
set -euo pipefail
SELF_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
if [ -x "${SELF_DIR}/server/installation/update.sh" ]; then
exec "${SELF_DIR}/server/installation/update.sh" "$@"
fi
echo "update.sh requires a full repository checkout."
echo "Missing: ${SELF_DIR}/server/installation/update.sh"
exit 1