summaryrefslogtreecommitdiffstats
path: root/ubuntu/raring/tdebase/debian/ksmserver-trinity.preinst
blob: 4a2ab8a1901d1913d8b7b7cd86643a2e2681b85a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#! /bin/sh -e

package_name=ksmserver-trinity

case "$1" in

    upgrade)
	# Remove old-style Plasma diversions
	dpkg-divert --package $package_name --rename --remove /usr/bin/plasma || true
	dpkg-divert --package $package_name --rename --remove /usr/bin/plasma-desktop || true
	mkdir -p /usr/share/autostart
    ;;

    install)
    ;;

    abort-upgrade)
    ;;

    *)
        echo "preinst called with unknown argument \`$1'" >&2
        exit 1
    ;;

esac

#DEBHELPER#

exit 0