Changeset 2973


Ignore:
Timestamp:
Dec 1, 2016, 11:53:58 AM (3 years ago)
Author:
kbut
Message:

check file icons exists

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-up/trunk/fuentes/lliurex-up-pool-scripts/usr/bin/runpart-from-repository

    r2972 r2973  
    2424        PACKAGENAME="$2"
    2525        DESKTOPFILES=$(find ${UNCOMPRESSEDDEB} -name *.desktop)
    26         sed -i -e "/^$PACKAGENAME :/d" ${DESTPATH}/icons
     26        if [ -e "${DESTPATH}/icons" ]; then
     27                sed -i -e "/^$PACKAGENAME :/d" ${DESTPATH}/icons
     28        fi
    2729        ICONS=""
    2830        for x in ${DESKTOPFILES}; do
Note: See TracChangeset for help on using the changeset viewer.