network/openresolv: Fix permission.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Markus Rinne 2015-01-31 23:50:43 +07:00 committed by Willy Sudiarto Raharjo
parent f1b0439077
commit 4cbff1880f

View file

@ -24,7 +24,7 @@
PRGNAM=openresolv
VERSION=${VERSION:-3.5.4}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -45,7 +45,7 @@ if [ "${OPENVPN:-no}" = "no" ]; then
USE_OPENVPN=""
else
if [ -d /etc/openvpn ]; then
USE_OPENVPN="cp $CWD/update-resolv-conf $PKG/etc/openvpn/"
USE_OPENVPN="install -m755 $CWD/update-resolv-conf $PKG/etc/openvpn/"
else
echo "You must to have openvpn installed"
exit 1