From: <cod...@go...> - 2008-11-05 23:40:25
|
Author: uelsk8s Date: Wed Nov 5 15:39:28 2008 New Revision: 264 Modified: branches/iVL/.project branches/iVL/FMain.class branches/iVL/FrmLangSel.class branches/iVL/FrmUserAdd.class branches/iVL/installer.gambas Log: added the users group to the useradd command Modified: branches/iVL/.project ============================================================================== --- branches/iVL/.project (original) +++ branches/iVL/.project Wed Nov 5 15:39:28 2008 @@ -2,7 +2,7 @@ # Compiled with Gambas 2.9.0 Title=VectorLinux Installer Startup=MdlCore -Version=0.0.123 +Version=0.0.126 Library=gb.gtk Library=gb.form Library=gb.debug @@ -17,6 +17,7 @@ Language=en_US ControlPublic=1 ModulePublic=1 +ExecPath=/root/gui-installer/installer.gambas Maintainer=M0E-lnx Vendor=VectorLinux Address=M0...@gm... Modified: branches/iVL/FMain.class ============================================================================== --- branches/iVL/FMain.class (original) +++ branches/iVL/FMain.class Wed Nov 5 15:39:28 2008 @@ -366,7 +366,7 @@ ME.END_INSTALLER() - frmNext = FrmAlsaConf + 'frmNext = FrmAlsaConf ' frmNext = FrmLilo ' this is already done CASE "FrmAlsaConf" Modified: branches/iVL/FrmLangSel.class ============================================================================== --- branches/iVL/FrmLangSel.class (original) +++ branches/iVL/FrmLangSel.class Wed Nov 5 15:39:28 2008 @@ -34,31 +34,31 @@ PUBLIC SUB LIST_LANG_CHOICES() - ' ' ' ' ' WITH ME.lblangsel - ' ' ' ' ' .Add("es_ES", "Spanish") - ' ' ' ' ' .Add("en_US", "US English") - ' ' ' ' ' END WITH + WITH ME.lblangsel + .Add("es_ES", "Spanish") + .Add("en_US", "US English") + END WITH - DIM sLangCode, sLangName AS String - DIM i AS Integer - - i = 0 - FOR EACH sLangCode IN Dir(".lang", "*.mo") - 'Message(sLangCode) - SELECT CASE File.BaseName(".lang" &/ sLangCode) - CASE "en_US" - sLangName = "US English" - CASE "es" - sLangName = "Spanish" - END SELECT - - ME.lblangsel.Add(File.BaseName(sLangCode), sLangName) - - -NEXT - - +' DIM sLangCode, sLangName AS String +' DIM i AS Integer +' +' i = 0 +' FOR EACH sLangCode IN Dir(".lang", "*.mo") +' 'Message(sLangCode) +' SELECT CASE File.BaseName(".lang" &/ sLangCode) +' CASE "en_US" +' sLangName = "US English" +' CASE "es" +' sLangName = "Spanish" +' END SELECT +' +' ME.lblangsel.Add(File.BaseName(sLangCode), sLangName) +' +' +' NEXT +' +' END Modified: branches/iVL/FrmUserAdd.class ============================================================================== --- branches/iVL/FrmUserAdd.class (original) +++ branches/iVL/FrmUserAdd.class Wed Nov 5 15:39:28 2008 @@ -148,7 +148,7 @@ 'SHELL "chroot /mnt/target /usr/sbin/useradd -m -s /bin/bash -u " & iUID & " -g " & ME.tbUsername.Text & " -G " & sGroups & Space(1) & ME.tbUsername.Text WAIT PRINT "Creating new user account" SHELL "chroot /mnt/target /usr/sbin/useradd -m -c " & "\'" & ME.tbRealname.text & "\'" & " -g " & ME.tbUsername.text & - " -p " & ME.tbPasswd1.text & " -u " & iUID & " -G " & "\'" & sGroups & "\' -s /bin/bash " & ME.tbUsername.Text WAIT + " -p " & ME.tbPasswd1.text & " -u " & iUID & " -G " & "\'users," & sGroups & "\' -s /bin/bash " & ME.tbUsername.Text WAIT ' sDocmd = "useradd -m -c " & "\'" & sname & "\'" & " -g " & slogin & " -p " & ME.txtpass1.Text & '" -G " & "\'" & sgrparse & "\' " & slogin Modified: branches/iVL/installer.gambas ============================================================================== Binary files. No diff available. |