source: lliurex-artwork-defaults/trunk/fuentes/debian/lliurex-artwork-defaults-music.prerm @ 2298

Last change on this file since 2298 was 2298, checked in by hectorgh, 3 years ago

changing images path

File size: 762 bytes
Line 
1#!/bin/bash
2
3set -e
4
5
6if [ "$1" = remove ] ; then
7        PKG="lliurex-artwork-defaults-desktop"
8        ORIGINAL_UNITY_FILE="/usr/share/xsessions/xubuntu.desktop"
9        NEW_DIVERTED_FILE="/usr/share/diverted-sessions/xubuntu.desktop"
10        dpkg-divert --remove --package ${PKG} --rename --divert "$NEW_DIVERTED_FILE" "$ORIGINAL_UNITY_FILE"
11
12
13        ORIGINAL_UNITY_FILE="/usr/share/xsessions/xfce.desktop"
14        NEW_DIVERTED_FILE="/usr/share/diverted-sessions/xfce.desktop"
15        dpkg-divert --remove --package ${PKG} --rename --divert "$NEW_DIVERTED_FILE" "$ORIGINAL_UNITY_FILE"
16
17
18        update-alternatives \
19                --remove  lliurex-default-background.png  /usr/share/backgrounds/lliurex/lliurex16-music-HD.png
20
21        update-alternatives --auto lliurex-default-background.png
22
23
24fi
25#DEBHELPER#
26
27exit 0
Note: See TracBrowser for help on using the repository browser.