I'm not 100% sure about this patch. So please review carefully.
But I believe that setup.svn currently isn't handling the installation
of the symlinks correctly.
Yet this patch also includes the adaption of
CONFDIR to actually install into /usr/local/ since I that seems to be
what is expected later:
newdirs = [BINDIR, CONFDIR, "%s/etc" % CONFDIR,
"%s/share" % CONFDIR,
"%s/share/gnue" % CONFDIR,
"%s/share/gnue/filters" % CONFDIR,
"%s/share/gnue/appserver" % CONFDIR,
"%s/share/gnue/forms" % CONFDIR,
"%s/share/gnue/images" % CONFDIR,
"%s/share/locale" % CONFDIR ]
Also the documentation directory didn't match FHS expectations.
Cheers,
David
Index: gnue-common/setup-svn.py
===================================================================
--- gnue-common/setup-svn.py (Revision 9898)
+++ gnue-common/setup-svn.py (Arbeitskopie)
@@ -221,7 +221,7 @@
if overwrite:
rootCommands.append ("if [ -e %s ]; then rm -f %s; fi" % (dest, dest))
- rootCommands.append("ln -f -s %s/%s %s" % (CURRENT_DIR, file, dest))
+ rootCommands.append("ln -f -s %s %s" % (file, dest))
def linkModule(subdir, module):
@@ -399,8 +399,8 @@
DOCDIR=os.path.join(BASEDIR,"docs")
elif ROOTINSTALL:
BINDIR = "/usr/local/bin"
- CONFDIR = "/usr/local/gnue"
- DOCDIR = "/usr/local/gnue/doc/"
+ CONFDIR = "/usr/local"
+ DOCDIR = "/usr/local/share/doc/gnue"
else:
BINDIR = os.path.expanduser("~/bin")
CONFDIR = os.path.expanduser("~/gnue")
_______________________________________________
Gnue-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnue-dev