summaryrefslogtreecommitdiffstats
path: root/arch/3.5.13/trinity-base/trinity-kdebase/trinity-kdebase.install
diff options
context:
space:
mode:
Diffstat (limited to 'arch/3.5.13/trinity-base/trinity-kdebase/trinity-kdebase.install')
-rw-r--r--arch/3.5.13/trinity-base/trinity-kdebase/trinity-kdebase.install19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/3.5.13/trinity-base/trinity-kdebase/trinity-kdebase.install b/arch/3.5.13/trinity-base/trinity-kdebase/trinity-kdebase.install
new file mode 100644
index 000000000..fa5fdeea2
--- /dev/null
+++ b/arch/3.5.13/trinity-base/trinity-kdebase/trinity-kdebase.install
@@ -0,0 +1,19 @@
+post_install() {
+ ldconfig &> /dev/null
+ mkpamserv trinity
+ echo "Please remember that you can change your kdesu backend"
+ echo "from su to sudo by adding following lines to your"
+ echo "~/.trinity/share/kdesurc or to $TDEDIR/share/config/kdesurc:"
+ echo "[super-user-command]"
+ echo "super-user-command=sudo"
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ ldconfig &> /dev/null
+ rm /etc/pam.d/trinity
+}
+