summaryrefslogtreecommitdiff
blob: f922e7a6d19a15085920d5c60986ee48a4829c10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
add support for new e16 homedir

http://bugs.gentoo.org/153876

--- genmenu-1.0.7/genmenu
+++ genmenu-1.0.7/genmenu
@@ -852,7 +852,13 @@
 
 e_interactive()
 {
-	ECONFDIR="$HOME/.enlightenment" 
+	ECONFDIR_NEW="$HOME/.e16"
+	ECONFDIR_OLD="$HOME/.enlightenment"
+	if [ -d "$ECONFDIR_OLD" ] && [ ! -d "$ECONFDIR_NEW" ]; then
+		ECONFDIR="$ECONFDIR_OLD"
+	else
+		ECONFDIR="$ECONFDIR_NEW"
+	fi
 
 	local menu="$ECONFDIR/file.menu"
 	local appdir="$ECONFDIR/genmenu"