[med-svn] [Git][med-team/community/package_template][master] No '_' permitted in package names

Andreas Tille gitlab at salsa.debian.org
Thu Jun 18 15:41:32 BST 2020



Andreas Tille pushed to branch master at Debian Med / community / package_template


Commits:
a7606708 by Andreas Tille at 2020-06-18T16:41:12+02:00
No '_' permitted in package names

- - - - -


1 changed file:

- personalise_template


Changes:

=====================================
personalise_template
=====================================
@@ -19,7 +19,7 @@ fi
 
 if echo "$1" | grep -q '^http.*://' ; then
   PHOMEPAGE="$1"
-  PKG=$(echo "$1" | sed 's#^.*/\([^/]\+\)/*$#\1#' | tr '[:upper:]' '[:lower:]')
+  PKG=$(echo "$1" | sed 's#^.*/\([^/]\+\)/*$#\1#' | tr '[:upper:]' '[:lower:]' | tr '_' '-' )
   echo PKG="$PKG"
 else
   PHOMEPAGE=""



View it on GitLab: https://salsa.debian.org/med-team/community/package_template/-/commit/a7606708da66def4aad602c33fd0389dde68d823

-- 
View it on GitLab: https://salsa.debian.org/med-team/community/package_template/-/commit/a7606708da66def4aad602c33fd0389dde68d823
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200618/4b0025f8/attachment.html>


More information about the debian-med-commit mailing list