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.
22 lines
634 B
22 lines
634 B
13 years ago
|
post_install() {
|
||
|
ldconfig &> /dev/null
|
||
3 years ago
|
[ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
|
||
|
[ -x "${TDEDIR}/bin/mkpamserv" ] && "${TDEDIR}/bin/mkpamserv" trinity || \
|
||
|
echo "Warning: unable to run mkpamserv trinity, you will need to manually confirure pam"
|
||
13 years ago
|
echo "Please remember that you can change your kdesu backend from su to sudo"
|
||
3 years ago
|
echo "by adding following lines to your ~/.tde/share/kdesurc or to the"
|
||
13 years ago
|
echo "$TDEDIR/share/config/kdesurc:"
|
||
13 years ago
|
echo "[super-user-command]"
|
||
|
echo "super-user-command=sudo"
|
||
13 years ago
|
}
|
||
|
|
||
|
post_upgrade() {
|
||
|
post_install
|
||
|
}
|
||
|
|
||
|
post_remove() {
|
||
|
ldconfig &> /dev/null
|
||
|
rm /etc/pam.d/trinity
|
||
|
}
|
||
|
|