Changeset 191425d


Ignore:
Timestamp:
11/12/13 10:55:37 (14 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1
Children:
532885c
Parents:
90ee280
Message:

Use the PBI_ICONURL variable in a PBI, if it exists, when updating meta-file

File:
1 edited

Legend:

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

    r4ca5a5e r191425d  
    20492049        load_info_from_header 
    20502050 
    2051         mFlags="add --app -i \"http://images.pbidir.com/progicons/generic.png\"" 
     2051        mFlags="add --app" 
    20522052        if [ -n "$PBI_PROGAUTHOR" ] ; then mFlags="$mFlags -a \"${PBI_PROGAUTHOR}\""; fi 
    20532053        if [ -n "$PBI_CATEGORY" ] ; then mFlags="$mFlags -c \"${PBI_CATEGORY}\""; fi 
     
    20612061        if [ -n "$PBI_PROGTYPE" ] ; then mFlags="$mFlags -t \"$PBI_PROGTYPE\""; fi 
    20622062        if [ "$PBI_REQUIRESROOT" = "YES" ] ; then mFlags="$mFlags -r"; fi 
     2063 
     2064        # Set the icon URL, or make it generic if it doesn't exist 
     2065        if [ -n "$PBI_ICONURL" ] ; then 
     2066                mFlags="$mFlags -i \"${PBI_ICONURL}\"" 
     2067        else 
     2068                mFlags="$mFlags -i \"http://images.pbidir.com/progicons/generic.png\"" 
     2069        fi 
    20632070 
    20642071        # Add the app 
Note: See TracChangeset for help on using the changeset viewer.