Ignore:
Timestamp:
Feb 1, 2017, 6:33:44 PM (3 years ago)
Author:
hectorgh
Message:

fixed tilda and deja-dup diversions

Location:
lliurex-artwork-defaults/trunk/fuentes/debian
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • lliurex-artwork-defaults/trunk/fuentes/debian/changelog

    r3465 r3504  
     1lliurex-artwork-defaults (5.3.1) xenial; urgency=high
     2
     3  * Fixed diversion
     4
     5 -- Hector Garcia Huerta <hectorgh@gmail.com>  Wed, 01 Feb 2017 18:33:12 +0100
     6
    17lliurex-artwork-defaults (5.3) xenial; urgency=high
    28
  • lliurex-artwork-defaults/trunk/fuentes/debian/lliurex-artwork-defaults-common.postinst

    r3462 r3504  
    6464        fi
    6565
    66         if [  -e "$ORIGINAL_AUTOSTART_FILE" ]; then
     66        if [ ! -e "$DIVERTED_AUTOSTART_FILE" ]; then
    6767
    6868                dpkg-divert --add --package ${PKG} --rename --divert "$DIVERTED_AUTOSTART_FILE" "$ORIGINAL_AUTOSTART_FILE"
    6969        fi
    7070
    71         if [  -e "$ORIGINAL_AUTOSTART_FILE1" ]; then
     71        if [ ! -e "$DIVERTED_AUTOSTART_FILE1" ]; then
    7272
    7373                dpkg-divert --add --package ${PKG} --rename --divert "$DIVERTED_AUTOSTART_FILE1" "$ORIGINAL_AUTOSTART_FILE1"
  • lliurex-artwork-defaults/trunk/fuentes/debian/lliurex-artwork-defaults-common.prerm

    r3462 r3504  
    5252        fi
    5353
    54         if [ ! -e "$ORIGINAL_AUTOSTART_FILE" ]; then
     54        if [ -e "$DIVERTED_AUTOSTART_FILE" ]; then
    5555
    5656                dpkg-divert --remove --package ${PKG} --rename --divert "$DIVERTED_AUTOSTART_FILE" "$ORIGINAL_AUTOSTART_FILE"
     
    5858        fi
    5959
    60         if [ ! -e "$ORIGINAL_AUTOSTART_FILE1" ]; then
     60        if [ -e "$DIVERTED_AUTOSTART_FILE1" ]; then
    6161
    6262                dpkg-divert --remove --package ${PKG} --rename --divert "$DIVERTED_AUTOSTART_FILE1" "$ORIGINAL_AUTOSTART_FILE1"
Note: See TracChangeset for help on using the changeset viewer.