Changeset 2719 for home-linker


Ignore:
Timestamp:
Oct 31, 2016, 1:04:06 PM (3 years ago)
Author:
daduve
Message:

diversions modified

Location:
home-linker/trunk/fuentes/debian
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • home-linker/trunk/fuentes/debian/home-linker.preinst

    r2713 r2719  
    2020    upgrade)
    2121        if dpkg --compare-versions "$2" lt 0.18; then
    22            dpkg-divert --package home-linker --remove --rename --divert /etc/lightdm/lightdm.conf.diverted /etc/lightdm/lightdm.conf
    23         fi
     22           if [ ! -f /etc/lightdm/lightdm.conf.diverted ]; then
     23                dpkg-divert --package home-linker --remove --rename --divert /etc/lightdm/lightdm.conf.diverted /etc/lightdm/lightdm.conf
     24           fi
     25        fi
    2426    ;;
    2527
  • home-linker/trunk/fuentes/debian/home-linker.prerm

    r2713 r2719  
    2020case "$1" in
    2121    remove)
    22         dpkg-divert --package home-linker --remove --rename --divert /usr/share/xdg-lliurex-dirs/xdg-user-dirs-update.diverted /usr/bin/xdg-user-dirs-update
     22        if [ ! -f /usr/share/xdg-lliurex-dirs/xdg-user-dirs-update.diverted ]; then
     23                dpkg-divert --package home-linker --remove --rename --divert /usr/share/xdg-lliurex-dirs/xdg-user-dirs-update.diverted /usr/bin/xdg-user-dirs-update
     24        fi
    2325    ;;
    2426    upgrade|deconfigure)
Note: See TracChangeset for help on using the changeset viewer.