summaryrefslogtreecommitdiffstats
path: root/starttde
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2014-01-06 03:16:47 +0100
committerSlávek Banko <slavek.banko@axis.cz>2014-01-06 03:16:47 +0100
commitd7f8c27eee859fd590166db0e4878562fcb42ed6 (patch)
tree4dfbb86697d5cdbc3ea4bb548214a65f36c57f8c /starttde
parent2e39fcecb24007a0bcab365f4d69677cfe511af9 (diff)
downloadtdebase-d7f8c27eee859fd590166db0e4878562fcb42ed6.tar.gz
tdebase-d7f8c27eee859fd590166db0e4878562fcb42ed6.zip
Rename applications-kmenuedit.menu -> applications-tdemenuedit.menu
Diffstat (limited to 'starttde')
-rw-r--r--starttde9
1 files changed, 6 insertions, 3 deletions
diff --git a/starttde b/starttde
index 0d7cbff21..269d4ffa5 100644
--- a/starttde
+++ b/starttde
@@ -280,6 +280,11 @@ test -n "$TDEHOME" && tdehome=`echo "$TDEHOME" | sed "s,^~/,$HOME/,"`
# to know that this is a Trinity desktop and not a KDE one.
export DESKTOP_SESSION=trinity
+# Create profile directory.
+if [ ! -d "$tdehome" ]; then
+ echo "[starttde] Creating $tdehome" 1>&2
+ mkdir -m 700 -p "$tdehome"
+fi
if [ -d "$tdehome" ]; then
# Run some R14 updates.
R14_UPDATED="`$TDEDIR/bin/kreadconfig --file kdeglobals --group "R14 XDG Updates" --key Updated --default false`"
@@ -302,11 +307,9 @@ if [ -d "$tdehome" ]; then
exit 1
fi
fi
-else
- echo "[starttde] Creating $tdehome" 1>&2
fi
+
# Please see tdestartupconfig source for usage.
-mkdir -m 700 -p "$tdehome"
mkdir -m 700 -p "$tdehome/share"
mkdir -m 700 -p "$tdehome/share/config"
cat >"$tdehome/share/config/startupconfigkeys" <<EOF