[GRASS-SVN] r49579 - grass/trunk/scripts/g.extension
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Dec 6 17:45:34 EST 2011
Author: hamish
Date: 2011-12-06 14:45:34 -0800 (Tue, 06 Dec 2011)
New Revision: 49579
Modified:
grass/trunk/scripts/g.extension/g.extension.py
Log:
only install missing files if op=add
Modified: grass/trunk/scripts/g.extension/g.extension.py
===================================================================
--- grass/trunk/scripts/g.extension/g.extension.py 2011-12-06 22:32:10 UTC (rev 49578)
+++ grass/trunk/scripts/g.extension/g.extension.py 2011-12-06 22:45:34 UTC (rev 49579)
@@ -553,7 +553,7 @@
def check_dirs():
check_style_files('grass_logo.png')
check_style_files('grassdocs.css')
-
+
def main():
# check dependecies
if sys.platform != "win32":
@@ -586,7 +586,8 @@
options['prefix'] = path_list[0]
# check dirs
- check_dirs()
+ if options['operation'] == 'add':
+ check_dirs()
if flags['d']:
if options['operation'] != 'add':
More information about the grass-commit
mailing list