summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
l---------debian/lenny/metapackages/trinity-slax1
-rw-r--r--debian/squeeze/metapackages/trinity-slax/debian/postinst28
2 files changed, 29 insertions, 0 deletions
diff --git a/debian/lenny/metapackages/trinity-slax b/debian/lenny/metapackages/trinity-slax
new file mode 120000
index 000000000..42c2a8401
--- /dev/null
+++ b/debian/lenny/metapackages/trinity-slax
@@ -0,0 +1 @@
+../../squeeze/metapackages/trinity-slax \ No newline at end of file
diff --git a/debian/squeeze/metapackages/trinity-slax/debian/postinst b/debian/squeeze/metapackages/trinity-slax/debian/postinst
new file mode 100644
index 000000000..9576c7390
--- /dev/null
+++ b/debian/squeeze/metapackages/trinity-slax/debian/postinst
@@ -0,0 +1,28 @@
+#! /bin/sh -e
+
+case "$1" in
+
+ configure)
+ if [ ! -f /root/.trinity/share/config/kpersonalizerrc ]; then
+ [ -d /root/.trinity/share/config ] ||
+ mkdir -p /root/.trinity/share/config
+ cat >/root/.trinity/share/config/kpersonalizerrc <<kpersonalizerrc
+[General]
+FirstLogin=false
+kpersonalizerrc
+ fi
+ ;;
+
+ abort-upgrade)
+ ;;
+
+ *)
+ echo "preinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+
+esac
+
+#DEBHELPER#
+
+exit 0