Fix upgrade maybe :<
This commit is contained in:
committed by
ljf (zamentur)
parent
56fa7d6268
commit
8356355da6
@@ -24,13 +24,13 @@ upgrade=$([ "${VPNCLIENT_UPGRADE}" == 1 ] && echo true || echo false)
|
|||||||
domain=${1}
|
domain=${1}
|
||||||
url_path=${2}
|
url_path=${2}
|
||||||
|
|
||||||
if ! $upgrade; then
|
source ./helpers
|
||||||
source ./helpers
|
source ./prerequisites
|
||||||
source ./prerequisites
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Check domain/path availability
|
# Check domain/path availability
|
||||||
ynh_webpath_register vpnclient $domain $url_path || exit 1
|
if ! $upgrade; then
|
||||||
|
ynh_webpath_register vpnclient $domain $url_path || exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
# Install packages
|
# Install packages
|
||||||
packages='php5-fpm sipcalc dnsutils openvpn curl fake-hwclock'
|
packages='php5-fpm sipcalc dnsutils openvpn curl fake-hwclock'
|
||||||
|
Reference in New Issue
Block a user