Ignore:
Timestamp:
Feb 1, 2017, 9:27:31 AM (3 years ago)
Author:
hectorgh
Message:

adding diversions folder plus diverting deja-dup autostart

File:
1 edited

Legend:

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

    r3371 r3461  
    1919        NEW_DIVERTED_CA_FILE1="/usr/share/locale/ca/LC_MESSAGES/mate-xfce4-panel-plugin-loader-applet.mo.diverted"
    2020       
     21        ORIGINAL_AUTOSTART_FILE="/etc/xdg/autostart/deja-dup-monitor.desktop"
     22        DIVERTED_AUTOSTART_FILE="/usr/share/lliurex-artwork-defaults/diversions/deja-dup-monitor.desktop"
     23
    2124
    2225        if [ -L "$ORIGINAL_WHISKER_ES_FILE" ]; then
     
    4649        fi
    4750
     51        if [ ! -e "$ORIGINAL_AUTOSTART_FILE" ]; then
     52
     53                dpkg-divert --remove --package ${PKG} --rename --divert "$DIVERTED_AUTOSTART_FILE" "$ORIGINAL_AUTOSTART_FILE"
     54
     55        fi
     56
     57
    4858
    4959fi
Note: See TracChangeset for help on using the changeset viewer.