Andreas Tille pushed to branch master at Debian Med / community / helper-scripts


Commits:
0fa9880d by Andreas Tille at 2018-10-24T07:00:10Z
Obtain program name from first binary package

- - - - -


1 changed file:

- createmanpages


Changes:

=====================================
createmanpages
=====================================
@@ -4,7 +4,7 @@ mkdir -p $MANDIR
 
 VERSION=`dpkg-parsechangelog | awk '/^Version:/ {print $2}' | sed -e 
's/^[0-9]*://' -e 's/-.*//' -e 's/[+~]dfsg$//'`
 NAME=`grep "^Description:" debian/control | sed 's/^Description: *//' | head 
-n1`
-PROGNAME=`grep "^Package:" debian/control | sed 's/^Package: *//'`
+PROGNAME=`grep "^Package:" debian/control | sed 's/^Package: *//' | head -n1`
 
 AUTHOR=".SH AUTHOR\nThis manpage was written by $DEBFULLNAME for the Debian 
distribution and
 can be used for any other usage of the program.



View it on GitLab: 
https://salsa.debian.org/med-team/community/helper-scripts/commit/0fa9880dcc20cdfc359fd64e8c763fa4109b12c5

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/community/helper-scripts/commit/0fa9880dcc20cdfc359fd64e8c763fa4109b12c5
You're receiving this email because of your account on salsa.debian.org.
_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to