Changeset 1715


Ignore:
Timestamp:
May 27, 2016, 1:21:59 PM (3 years ago)
Author:
hectorgh
Message:

removing xubuntu sessions

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

Legend:

Unmodified
Added
Removed
  • lliurex-artwork-defaults/trunk/fuentes/debian/lliurex-artwork-defaults-desktop.postinst

    r66 r1715  
    2121        [ -d "/usr/share/diverted-sessions/" ] || mkdir -p "/usr/share/diverted-sessions/"
    2222
    23         ORIGINAL_UNITY_FILE="/usr/share/xsessions/ubuntu.desktop"
    24         NEW_DIVERTED_FILE="/usr/share/diverted-sessions/ubuntu.desktop"
     23        ORIGINAL_UNITY_FILE="/usr/share/xsessions/xubuntu.desktop"
     24        NEW_DIVERTED_FILE="/usr/share/diverted-sessions/xubuntu.desktop"
    2525        PKG="lliurex-artwork-defaults-desktop"
    2626        dpkg-divert --add --package ${PKG} --rename --divert "$NEW_DIVERTED_FILE" "$ORIGINAL_UNITY_FILE"
    2727
    28         ORIGINAL_UNITY_FILE="/usr/share/xsessions/ubuntu-2d.desktop"
    29         NEW_DIVERTED_FILE="/usr/share/diverted-sessions/ubuntu-2d.desktop"
     28        ORIGINAL_UNITY_FILE="/usr/share/xsessions/xfce.desktop"
     29        NEW_DIVERTED_FILE="/usr/share/diverted-sessions/xfce.desktop"
    3030        PKG="lliurex-artwork-defaults-desktop"
    3131        dpkg-divert --add --package ${PKG} --rename --divert "$NEW_DIVERTED_FILE" "$ORIGINAL_UNITY_FILE"
  • lliurex-artwork-defaults/trunk/fuentes/debian/lliurex-artwork-defaults-desktop.prerm

    r66 r1715  
    66if [ "$1" = remove ] ; then
    77        PKG="lliurex-artwork-defaults-desktop"
    8         ORIGINAL_UNITY_FILE="/usr/share/xsessions/ubuntu.desktop"
    9         NEW_DIVERTED_FILE="/usr/share/diverted-sessions/ubuntu.desktop"
     8        ORIGINAL_UNITY_FILE="/usr/share/xsessions/xubuntu.desktop"
     9        NEW_DIVERTED_FILE="/usr/share/diverted-sessions/xubuntu.desktop"
    1010        dpkg-divert --remove --package ${PKG} --rename --divert "$NEW_DIVERTED_FILE" "$ORIGINAL_UNITY_FILE"
    1111
    1212
    13         ORIGINAL_UNITY_FILE="/usr/share/xsessions/ubuntu-2d.desktop"
    14         NEW_DIVERTED_FILE="/usr/share/diverted-sessions/ubuntu-2d.desktop"
     13        ORIGINAL_UNITY_FILE="/usr/share/xsessions/xfce.desktop"
     14        NEW_DIVERTED_FILE="/usr/share/diverted-sessions/xfce.desktop"
    1515        dpkg-divert --remove --package ${PKG} --rename --divert "$NEW_DIVERTED_FILE" "$ORIGINAL_UNITY_FILE"
    1616
Note: See TracChangeset for help on using the changeset viewer.