diff options
Diffstat (limited to 'ubuntu/maverick/metapackages/rename-meta/debian/kdesudo-trinity.preinst')
-rw-r--r-- | ubuntu/maverick/metapackages/rename-meta/debian/kdesudo-trinity.preinst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ubuntu/maverick/metapackages/rename-meta/debian/kdesudo-trinity.preinst b/ubuntu/maverick/metapackages/rename-meta/debian/kdesudo-trinity.preinst new file mode 100644 index 000000000..12e16e22d --- /dev/null +++ b/ubuntu/maverick/metapackages/rename-meta/debian/kdesudo-trinity.preinst @@ -0,0 +1,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 |