Create and set permissions on a subdirectory in the local cvs repository.
[root root]# mkdir /cvsroot/$OPENACS_SERVICE_NAME
[root root]# chown $OPENACS_SERVICE_NAME.$OPENACS_SERVICE_NAME /cvsroot/$OPENACS_SERVICE_NAME
@@ -20,11 +21,11 @@
plus this string,
i.e.
/cvsroot/$OPENACS_SERVICE_NAME.
- "OpenACS" is the vendor tag, and "HEAD" is the
+ "OpenACS" is the vendor tag, and "HEAD" is the
release tag. These tags will be useful in upgrading and
branching. -m sets the version comment.[root root]# su - $OPENACS_SERVICE_NAME
[$OPENACS_SERVICE_NAME $OPENACS_SERVICE_NAME]$ cd /var/lib/aolserver/$OPENACS_SERVICE_NAME
-[$OPENACS_SERVICE_NAME $OPENACS_SERVICE_NAME]$ cvs import -m "initial install" $OPENACS_SERVICE_NAME OpenACS HEAD
+[$OPENACS_SERVICE_NAME $OPENACS_SERVICE_NAME]$ cvs import -m "initial install" $OPENACS_SERVICE_NAME OpenACS HEAD
N $OPENACS_SERVICE_NAME/license.txt
N $OPENACS_SERVICE_NAME/readme.txt
(many lines omitted)
@@ -36,7 +37,7 @@
[root root]#
su - $OPENACS_SERVICE_NAME
cd /var/lib/aolserver/$OPENACS_SERVICE_NAME
-cvs import -m "initial install" $OPENACS_SERVICE_NAME OpenACS HEAD
+cvs import -m "initial install" $OPENACS_SERVICE_NAME OpenACS HEAD
exit
Move the original directory to a temporary location, and check out the cvs repository in its place.
[root root]# mv /var/lib/aolserver/$OPENACS_SERVICE_NAME /var/tmp
[root root]# mkdir /var/lib/aolserver/$OPENACS_SERVICE_NAME
[root root]# chown $OPENACS_SERVICE_NAME.$OPENACS_SERVICE_NAME /var/lib/aolserver/$OPENACS_SERVICE_NAME