summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-03-03 15:13:38 +0000
committerMike Frysinger <vapier@gentoo.org>2003-03-03 15:13:38 +0000
commit98f705975cbc42881b726fb3fbc704bff40292fd (patch)
treec8cbeeac717882b5b373f903e699eda4ae84a84d /x11-misc/elogin
parentppc (diff)
downloadgentoo-2-98f705975cbc42881b726fb3fbc704bff40292fd.tar.gz
gentoo-2-98f705975cbc42881b726fb3fbc704bff40292fd.tar.bz2
gentoo-2-98f705975cbc42881b726fb3fbc704bff40292fd.zip
locals only in functions
Diffstat (limited to 'x11-misc/elogin')
-rw-r--r--x11-misc/elogin/files/gentoo-sessions.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11-misc/elogin/files/gentoo-sessions.patch b/x11-misc/elogin/files/gentoo-sessions.patch
index 936191eddf0f..70c3fe6249cd 100644
--- a/x11-misc/elogin/files/gentoo-sessions.patch
+++ b/x11-misc/elogin/files/gentoo-sessions.patch
@@ -30,7 +30,7 @@
-edb_ed $DB add /elogin/session/8/path str "~/.xinitrc"
-edb_ed $DB add /elogin/session/count int 9
+
-+local count=-1
++count=-1
+for ses in /etc/X11/Sessions/* ; do
+ let "count++"
+ edb_ed $DB add /elogin/session/${count}/name str "`basename ${ses}`"