Ignore:
Timestamp:
Feb 1, 2017, 10:11:12 AM (3 years ago)
Author:
hectorgh
Message:

adding tilda autostart diversion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-artwork-defaults/trunk/fuentes/debian/lliurex-artwork-defaults-common.prerm

    r3461 r3462  
    2121        ORIGINAL_AUTOSTART_FILE="/etc/xdg/autostart/deja-dup-monitor.desktop"
    2222        DIVERTED_AUTOSTART_FILE="/usr/share/lliurex-artwork-defaults/diversions/deja-dup-monitor.desktop"
     23
     24        ORIGINAL_AUTOSTART_FILE1="/usr/share/mate/autostart/tilda.desktop"
     25        DIVERTED_AUTOSTART_FILE1="/usr/share/lliurex-artwork-defaults/diversions/tilda.desktop"
    2326
    2427
     
    5558        fi
    5659
     60        if [ ! -e "$ORIGINAL_AUTOSTART_FILE1" ]; then
     61
     62                dpkg-divert --remove --package ${PKG} --rename --divert "$DIVERTED_AUTOSTART_FILE1" "$ORIGINAL_AUTOSTART_FILE1"
     63
     64        fi
    5765
    5866
Note: See TracChangeset for help on using the changeset viewer.