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.
14 lines
279 B
14 lines
279 B
11 years ago
|
#! /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
|