commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnue-common setup.py


From: Reinhard Mueller
Subject: gnue-common setup.py
Date: Mon, 29 Sep 2003 11:30:02 -0400

CVSROOT:        /cvsroot/gnue
Module name:    gnue-common
Branch:         
Changes by:     Reinhard Mueller <address@hidden>       03/09/29 11:30:01

Modified files:
        .              : setup.py 

Log message:
        Changed default for --install-config from /etc to /etc/gnue when prefix 
is
        /usr. Thanks to Jeff Bailey for proposing this.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-common/setup.py.diff?tr1=1.81&tr2=1.82&r1=text&r2=text

Patches:
Index: gnue-common/setup.py
diff -c gnue-common/setup.py:1.81 gnue-common/setup.py:1.82
*** gnue-common/setup.py:1.81   Mon Sep 29 11:11:42 2003
--- gnue-common/setup.py        Mon Sep 29 11:30:00 2003
***************
*** 227,233 ****
      # try to set a reasonable default for --install-config
      if self.install_config is None:
        if self.home == "/usr" or self.prefix == "/usr":
!         self.install_config = "/etc"
        elif self.home == "/opt/gnue" or self.prefix == "/opt/gnue":
          self.install_config = "/etc/opt/gnue"
        else:
--- 227,235 ----
      # try to set a reasonable default for --install-config
      if self.install_config is None:
        if self.home == "/usr" or self.prefix == "/usr":
!         self.install_config = "/etc/gnue"
!       if self.home == "/usr/local" or self.prefix == "/usr/local":
!         self.install_config = "/usr/local/etc/gnue"
        elif self.home == "/opt/gnue" or self.prefix == "/opt/gnue":
          self.install_config = "/etc/opt/gnue"
        else:




reply via email to

[Prev in Thread] Current Thread [Next in Thread]