Changeset 0c07acc


Ignore:
Timestamp:
11/18/13 09:41:52 (13 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1
Children:
675ff61
Parents:
d0dd23b
Message:

Fix importing of package descriptions, replace \n with " " and
on spacer \n lines, replace with a "<br>"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/pbi-manager10/pbi-manager

    re05c3a9 r0c07acc  
    31613161        fi 
    31623162        if [ -e "${1}/pbi_desc" ] ; then 
    3163                 PBI_DESC="`cat ${1}/pbi_desc | awk 1 ORS='<br>' | sed 's|*|-|g'`" 
     3163                PBI_DESC="`cat ${1}/pbi_desc | awk 1 ORS=' ' | sed 's|  |<br>|g' | sed 's|*|-|g'`" 
    31643164        fi 
    31653165        if [ -e "${1}/pbi_shortdesc" ] ; then 
    3166                 PBI_SHORTDESC="`cat ${1}/pbi_shortdesc | awk 1 ORS='<br>' | sed 's|*|-|g'`" 
     3166                PBI_SHORTDESC="`cat ${1}/pbi_shortdesc | awk 1 ORS=' ' | sed 's|  |<br>|g' | sed 's|*|-|g'`" 
    31673167        fi 
    31683168        if [ -e "${1}/pbi_maintainer" ] ; then 
Note: See TracChangeset for help on using the changeset viewer.