install was complaining about the user add line..
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 7 Nov 2005 18:50:52 +0000 (18:50 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 7 Nov 2005 18:50:52 +0000 (18:50 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@1974 dcc99617-32d9-48b4-a31d-7c20da2025e4

install.sh

index c0139e8..bc8da79 100755 (executable)
@@ -67,7 +67,7 @@ function mkInstallDirs {
        # add the opensrf user and group
         if installing; then
                if [ ! $(grep "^opensrf:" /etc/group) ]; then groupadd opensrf; fi
-               if [ ! $(grep "^opensrf:" /etc/passwd) ]; then useradd opensrf; fi
+               if [ ! $(grep "^opensrf:" /etc/passwd) ]; then useradd -g opensrf opensrf; fi
                # add opensrf to the opensrf group
                gpasswd -a opensrf opensrf
        fi;