summaryrefslogtreecommitdiff
path: root/debian/preinst
blob: 55c77b93e33e0bddca6d3b98f27bde84ef3d04eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh -e

# Remove symlink for el, replaced by a folder in 4.8.2-1
case "$1" in
install|upgrade)
    if dpkg --compare-versions "$2" lt "4.8.2-1"; then
      [ -h /usr/share/doc/xfce4-session/html/el/images ] && rm /usr/share/doc/xfce4-session/html/el/images || true
    fi
esac


#DEBHELPER#

exit 0