summaryrefslogtreecommitdiffstats
path: root/arch/3.5.13/trinity-base/trinity-kdebase-split/trinity-kdebase.install
diff options
context:
space:
mode:
Diffstat (limited to 'arch/3.5.13/trinity-base/trinity-kdebase-split/trinity-kdebase.install')
-rw-r--r--arch/3.5.13/trinity-base/trinity-kdebase-split/trinity-kdebase.install19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/3.5.13/trinity-base/trinity-kdebase-split/trinity-kdebase.install b/arch/3.5.13/trinity-base/trinity-kdebase-split/trinity-kdebase.install
new file mode 100644
index 000000000..82f34a0b0
--- /dev/null
+++ b/arch/3.5.13/trinity-base/trinity-kdebase-split/trinity-kdebase.install
@@ -0,0 +1,19 @@
+post_install() {
+ ldconfig &> /dev/null
+ mkpamserv trinity
+ echo "Please remember that you can change your kdesu backend from su to sudo"
+ echo "by adding following lines to your ~/.trinity/share/kdesurc or to the"
+ echo "$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
+}
+