~noskcaj/ubuntu/trusty/xfce4-panel/4.11

« back to all changes in this revision

Viewing changes to debian/xfce4-panel.postinst

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2012-02-14 14:57:05 UTC
  • Revision ID: package-import@ubuntu.com-20120214145705-75i40eez73axjfe6
Tags: 4.8.6-2ubuntu2
Use maintscript support in dh_installdeb rather than writing out
dpkg-maintscript-helper commands by hand.  We now simply Pre-Depend on a
new enough version of dpkg rather than using 'dpkg-maintscript-helper
supports' guards, leading to more predictable behaviour on upgrades.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
set -e
4
4
 
5
 
LASTVER="4.7.0" 
6
 
 
7
 
if dpkg-maintscript-helper supports rm_conffile; then
8
 
  dpkg-maintscript-helper rm_conffile \
9
 
    /etc/xdg/xfce4/panel/clock-14.rc "$LASTVER" -- "$@"
10
 
  dpkg-maintscript-helper rm_conffile \
11
 
    /etc/xdg/xfce4/panel/launcher-10.rc "$LASTVER" -- "$@"
12
 
  dpkg-maintscript-helper rm_conffile \
13
 
    /etc/xdg/xfce4/panel/launcher-7.rc "$LASTVER" -- "$@"
14
 
  dpkg-maintscript-helper rm_conffile \
15
 
    /etc/xdg/xfce4/panel/launcher-9.rc "$LASTVER" -- "$@"
16
 
  dpkg-maintscript-helper rm_conffile \
17
 
    /etc/xdg/xfce4/panel/panels.xml "$LASTVER" -- "$@"
18
 
  dpkg-maintscript-helper rm_conffile \
19
 
    /etc/xdg/xfce4/panel/systray-4.rc "$LASTVER" -- "$@"
20
 
  dpkg-maintscript-helper rm_conffile \
21
 
    /etc/xdg/xfce4/panel/xfce4-menu-5.rc "$LASTVER" -- "$@"
22
 
fi
23
 
 
24
5
if [ "$1" = "configure" ]; then
25
6
        # Run ldconfig to update shared library system
26
7
        ldconfig