updating...

This commit is contained in:
brent s 2016-10-22 06:16:39 -04:00
parent 29ce50540e
commit 78a3df7b93

View File

@ -78,7 +78,7 @@ echo


# check PKGNAME # check PKGNAME
set +e # disable bail-on-error because we want a non-zero if a package name is not right, etc. set +e # disable bail-on-error because we want a non-zero if a package name is not right, etc.
echo "${PKGNAME}" | egrep -Eq '^([a-z0-9\_])+$' echo "${PKGNAME}" | egrep -Eq '^([a-z0-9\_\-])+$'
if [[ "${?}" -ne '0' ]]; if [[ "${?}" -ne '0' ]];
then then
echo "ERROR: That does not seem to be a valid package name!" echo "ERROR: That does not seem to be a valid package name!"