Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix importing of package descriptions, replace \n with " " and

on spacer \n lines, replace with a "<br>"
  • Loading branch information...
commit 0c07accac7402fb11db2b37ee112c350df727347 1 parent d0dd23b
@kmoore134 kmoore134 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src-sh/pbi-manager10/pbi-manager
View
4 src-sh/pbi-manager10/pbi-manager
@@ -3160,10 +3160,10 @@ load_info_from_dir() {
PBI_ICONURL="`cat ${1}/pbi_iconurl`"
fi
if [ -e "${1}/pbi_desc" ] ; then
- PBI_DESC="`cat ${1}/pbi_desc | awk 1 ORS='<br>' | sed 's|*|-|g'`"
+ PBI_DESC="`cat ${1}/pbi_desc | awk 1 ORS=' ' | sed 's| |<br>|g' | sed 's|*|-|g'`"
fi
if [ -e "${1}/pbi_shortdesc" ] ; then
- PBI_SHORTDESC="`cat ${1}/pbi_shortdesc | awk 1 ORS='<br>' | sed 's|*|-|g'`"
+ PBI_SHORTDESC="`cat ${1}/pbi_shortdesc | awk 1 ORS=' ' | sed 's| |<br>|g' | sed 's|*|-|g'`"
fi
if [ -e "${1}/pbi_maintainer" ] ; then
PBI_MAINTAINER="`cat ${1}/pbi_maintainer`"
Please sign in to comment.
Something went wrong with that request. Please try again.