You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-packaging/ubuntu/precise/metapackages/rename-meta/debian/kdesudo-trinity.preinst

14 lines
279 B

#! /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