Update package version to 2.6.10
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
URL="https://www.openldap.org/software/download/"
|
||||
|
||||
# Get version number from tag name
|
||||
VERSION=$(curl -s -L "$URL" | grep -o -E 'OpenLDAP-[0-9]{1,}\.[0-9]{1,}\.[0-9]{1,}')
|
||||
|
||||
# Trim prefix
|
||||
VERSION=${VERSION//OpenLDAP-/}
|
||||
|
||||
echo "$VERSION"
|
||||
Reference in New Issue
Block a user