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