Commit 3c69ba5f authored by David Kempe's avatar David Kempe
Browse files

Remove '_' from deb file names instead of '-' - Matt

parent b92e4d44
......@@ -30,10 +30,10 @@ mkdir -p DEBIAN etc/openvpn
# deb files can only contain a-z and - so lets just fix the deb file, the name would need to be pretty screwed to fail or duplicate
# error message is "dpkg-deb: package name has characters that aren't lowercase alphanums or `-+.'"
DEBFILE="`echo openvpn-client-${FILEBASE}.deb | tr [:upper:] [:lower:] | sed -e 's/[^a-z0-9.-]//g'`"
DEBFILE="`echo openvpn-client-${FILEBASE}.deb | tr [:upper:] [:lower:] | sed -e 's/[^a-z0-9._]//g'`"
make_pkcs12 "$OVPN_EMAIL" "$OVPN_COMMONNAME" "etc/openvpn/${FILEBASE}.p12"
chmod 0600 "etc/openvpn/${FILEBASE}.p12"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment