summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/metapackages/rename-meta/debian/kdesudo-trinity.preinst
blob: 12e16e22dfd27e729ae4ae394738a1ab37774f2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /bin/sh

set -e

package_name=kdesudo-trinity

divert=`dpkg-divert --listpackage "/opt/trinity/bin/kdesu"`
if [ -n "$divert" ] && [ "$divert" = $package_name ]; then
    dpkg-divert --package $package_name --rename --remove \
                /opt/trinity/bin/kdesu
fi

exit 0