Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fwife.git;a=commitdiff;h=186e2360d7364812b9fa39a9f7fc93ddc04ec55f

commit 186e2360d7364812b9fa39a9f7fc93ddc04ec55f
Author: Elentir <elen...@frugalware.org>
Date:   Wed Aug 4 12:18:46 2010 +0200

postconf: fix lxdm path

diff --git a/src/plugins/postconf.c b/src/plugins/postconf.c
index 5a32916..170a4ea 100644
--- a/src/plugins/postconf.c
+++ b/src/plugins/postconf.c
@@ -310,7 +310,7 @@ int write_dms(char *dms)
fprintf(fd, "#desktop=\"/usr/bin/slim\"\n");
fprintf(fd, "#desktop=\"/usr/sbin/gdm --nodaemon\"\n");
fprintf(fd, "desktop=\"/usr/bin/kdm -nodaemon\"\n");
-               fprintf(fd, "#desktop=\"/usr/bin/lxdm\"\n");
+               fprintf(fd, "#desktop=\"/usr/sbin/lxdm\"\n");
}
else if(!strcmp(dms, "GDM"))
{
@@ -318,7 +318,7 @@ int write_dms(char *dms)
fprintf(fd, "#desktop=\"/usr/bin/slim\"\n");
fprintf(fd, "desktop=\"/usr/sbin/gdm --nodaemon\"\n");
fprintf(fd, "#desktop=\"/usr/bin/kdm -nodaemon\"\n");
-               fprintf(fd, "#desktop=\"/usr/bin/lxdm\"\n");
+               fprintf(fd, "#desktop=\"/usr/sbin/lxdm\"\n");
}
else if(!strcmp(dms, "Slim"))
{
@@ -326,7 +326,7 @@ int write_dms(char *dms)
fprintf(fd, "desktop=\"/usr/bin/slim\"\n");
fprintf(fd, "#desktop=\"/usr/sbin/gdm --nodaemon\"\n");
fprintf(fd, "#desktop=\"/usr/bin/kdm -nodaemon\"\n");
-               fprintf(fd, "#desktop=\"/usr/bin/lxdm\"\n");
+               fprintf(fd, "#desktop=\"/usr/sbin/lxdm\"\n");
}
else if(!strcmp(dms, "Lxdm"))
{
@@ -334,7 +334,7 @@ int write_dms(char *dms)
fprintf(fd, "#desktop=\"/usr/bin/slim\"\n");
fprintf(fd, "#desktop=\"/usr/sbin/gdm --nodaemon\"\n");
fprintf(fd, "#desktop=\"/usr/bin/kdm -nodaemon\"\n");
-               fprintf(fd, "desktop=\"/usr/bin/lxdm\"\n");
+               fprintf(fd, "desktop=\"/usr/sbin/lxdm\"\n");
}
else // default : XDM
{
@@ -342,7 +342,7 @@ int write_dms(char *dms)
fprintf(fd, "#desktop=\"/usr/bin/slim\"\n");
fprintf(fd, "#desktop=\"/usr/sbin/gdm --nodaemon\"\n");
fprintf(fd, "#desktop=\"/usr/bin/kdm -nodaemon\"\n");
-               fprintf(fd, "#desktop=\"/usr/bin/lxdm\"\n");
+               fprintf(fd, "#desktop=\"/usr/sbin/lxdm\"\n");
}

fflush(fd);
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to