public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in www-misc/nx_util/files: 0.52.1-fix-install-paths.patch
@ 2013-09-27 13:42 Tiziano Mueller (dev-zero)
  0 siblings, 0 replies; only message in thread
From: Tiziano Mueller (dev-zero) @ 2013-09-27 13:42 UTC (permalink / raw
  To: gentoo-commits

dev-zero    13/09/27 13:42:25

  Added:                0.52.1-fix-install-paths.patch
  Log:
  Version bump
  
  (Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key 0x1E0CA85F!)

Revision  Changes    Path
1.1                  www-misc/nx_util/files/0.52.1-fix-install-paths.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/nx_util/files/0.52.1-fix-install-paths.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/nx_util/files/0.52.1-fix-install-paths.patch?rev=1.1&content-type=text/plain

Index: 0.52.1-fix-install-paths.patch
===================================================================
diff --git a/nx_util/nx_util.conf b/nx_util/nx_util.conf
index cd2a591..818daaf 100644
--- a/nx_util/nx_util.conf
+++ b/nx_util/nx_util.conf
@@ -1,4 +1,4 @@
 [nx_util]
-data_dir=/usr/local/nx_datas
+data_dir=/usr/share/nx_datas
 database_dir=
 naxsi_core_rules=/etc/nginx/naxsi_core.rules
diff --git a/nx_util/nx_util.py b/nx_util/nx_util.py
old mode 100644
new mode 100755
index 0509b51..38be37e
--- a/nx_util/nx_util.py
+++ b/nx_util/nx_util.py
@@ -62,8 +62,8 @@ if __name__ == "__main__":
 	
 	# Configuration
 	parser.add_option("-c", "--config", dest="conf_path",
-			  help="Path to configuration (defaults to /usr/local/etc/nx_util.conf)", 
-			  type="string", default="/usr/local/etc/nx_util.conf")
+			  help="Path to configuration (defaults to /etc/nx_util.conf)", 
+			  type="string", default="/etc/nx_util.conf")
 	
 	# Filtering options should go here :)
 	parser.add_option("-f", "--filters", dest="usr_filter",
diff --git a/nx_util/setup.py b/nx_util/setup.py
index cc48a5c..b855459 100644
--- a/nx_util/setup.py
+++ b/nx_util/setup.py
@@ -8,14 +8,14 @@ setup(name='nx_util',
       author='Naxsi Dev Team',
       author_email='thibault.koechlin@nbs-system.com',
       url='naxsi.googlecode.com',
-      scripts=['nx_util.py'],
+      scripts=['nx_util'],
       packages=['nx_lib'],
-      data_files=[('nx_datas', ['nx_datas/bootstrap.min.css',
+      data_files=[('/usr/share/nx_datas', ['nx_datas/bootstrap.min.css',
                                 'nx_datas/bootstrap-responsive.min.css',
                                 'nx_datas/highcharts.js',
                                 'nx_datas/map.tpl',
                                 'nx_datas/bootstrap.min.js',
                                 'nx_datas/country2coords.txt']),
                   ('/usr/share/man/man1', ['nx_util.1.gz']),
-                  ('/usr/local/etc/', ['nx_util.conf'])]
+                  ('/etc/', ['nx_util.conf'])]
       )





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-09-27 13:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-27 13:42 [gentoo-commits] gentoo-x86 commit in www-misc/nx_util/files: 0.52.1-fix-install-paths.patch Tiziano Mueller (dev-zero)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox