summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorKim <kim.sidney@gmail.com>2021-09-28 14:26:06 +0200
committerGitHub <noreply@github.com>2021-09-28 14:26:06 +0200
commit87c6fcc9eb547e44587c46244cc66877efd7ad35 (patch)
treef66d49febb5c81774aae56de6c11b1086e94cc21 /packages
parente9ab597640fc7784cd85a6db84dd90f95dd552ef (diff)
downloadvyos-build-87c6fcc9eb547e44587c46244cc66877efd7ad35.tar.gz
vyos-build-87c6fcc9eb547e44587c46244cc66877efd7ad35.zip
packages: update openvpn-otp
version number must start with digit
Diffstat (limited to 'packages')
-rwxr-xr-xpackages/openvpn-otp/build-openvpn-otp.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/openvpn-otp/build-openvpn-otp.sh b/packages/openvpn-otp/build-openvpn-otp.sh
index ecae0f18..6870db64 100755
--- a/packages/openvpn-otp/build-openvpn-otp.sh
+++ b/packages/openvpn-otp/build-openvpn-otp.sh
@@ -31,6 +31,6 @@ fpm --input-type dir --output-type deb --name openvpn-otp \
--maintainer "VyOS Package Maintainers <maintainers@vyos.net>" \
--description "OpenVPN OTP Authentication support." \
--depends openvpn --architecture $(dpkg --print-architecture) \
- --version $(git describe --tags --always) --deb-compression gz usr
+ --version $(git describe --tags --always | cut -c2-) --deb-compression gz usr
cp *.deb ${CWD}