tazpkg diff modules/info @ rev 940

modules/info: Allow maintainer in form "John Doe <john@example.com>"
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 08 05:32:39 2017 +0200 (2017-02-08)
parents 45d90da42ede
children 50421cb50644
line diff
     1.1 --- a/modules/info	Sun Jan 08 11:24:12 2017 +0200
     1.2 +++ b/modules/info	Wed Feb 08 05:32:39 2017 +0200
     1.3 @@ -97,6 +97,11 @@
     1.4  
     1.5  [ -z "$SIZES" ] && SIZES=$(echo $PACKED_SIZE/$UNPACKED_SIZE | sed 's|\.0||g' | sed 's|^/$||')
     1.6  
     1.7 +# Allow maintainer in form: John Doe <john@example.com>
     1.8 +case $output in
     1.9 +	html|gtk) MAINTAINER=$(echo "$MAINTAINER" | sed 's|&|\&amp;|g; s|<|\&lt;|g; s|>|\&gt;|g');;
    1.10 +esac
    1.11 +
    1.12  emsg "$(
    1.13  {
    1.14  			_ 'Package    : %s' "$PACKAGE"