~ubuntu-branches/ubuntu/natty/xubuntu-default-settings/natty

« back to all changes in this revision

Viewing changes to debian/postrm

  • Committer: Bazaar Package Importer
  • Author(s): Lionel Le Folgoc
  • Date: 2011-04-01 22:31:55 UTC
  • Revision ID: james.westby@ubuntu.com-20110401223155-ozvll04kivxm1aj0
Tags: 11.04.17
* Move etc/xdg/xdg-xubuntu/xfce4/xfconf/…/xfce4-panel.xml to
  etc/xdg/xdg-xubuntu/xfce4/panel/default.xml: this is the correct place
  to store the default settings, and avoid any weird issue when removing
  a panel.                                                        lp: #747137
* Handle the move in the maintainer scripts as well.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
    /etc/xdg/xdg-xubuntu/xfce4/panel/cpugraph-3.rc "$LASTVER" -- "$@"
44
44
fi
45
45
 
 
46
# Special care for the default panel config (lp: #747137)
 
47
if dpkg-maintscript-helper supports mv_conffile; then
 
48
  dpkg-maintscript-helper mv_conffile \
 
49
    /etc/xdg/xdg-xubuntu/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml \
 
50
    /etc/xdg/xdg-xubuntu/xfce4/panel/default.xml 11.04.16 -- "$@"
 
51
fi
 
52
 
46
53
case "$1" in
47
54
  remove|purge)
48
55
    if [ -x /usr/lib/gdm/gdm-set-default-session ] ; then