Skip to content

Commit

Permalink
Merge pull request #8910 from neteler/patch-78
Browse files Browse the repository at this point in the history
Complete grass76 support
  • Loading branch information
m-kuhn committed Jan 20, 2019
2 parents 20a1d7f + c022e1f commit 8871a58
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/plugins/processing/algs/grass7/Grass7Utils.py
Expand Up @@ -132,8 +132,8 @@ def grassBin():
Find GRASS binary path on the operating system.
Sets global variable Grass7Utils.command
"""
cmdList = ["grass74", "grass72", "grass71", "grass70", "grass",
"grass74.sh", "grass72.sh", "grass71.sh", "grass70.sh", "grass.sh"]
cmdList = ["grass76", "grass74", "grass72", "grass70", "grass",
"grass76.sh", "grass74.sh", "grass72.sh", "grass70.sh", "grass.sh"]

def searchFolder(folder):
"""
Expand Down Expand Up @@ -215,7 +215,7 @@ def grassPath():
elif isMac():
# For MacOSX, we scan some well-known directories
# Start with QGIS bundle
for version in ['', '7', '70', '71', '72', '74']:
for version in ['', '7', '76', '74', '72', '70']:
testfolder = os.path.join(str(QgsApplication.prefixPath()),
'grass{}'.format(version))
if os.path.isdir(testfolder):
Expand Down Expand Up @@ -544,7 +544,7 @@ def grassHelpPath():
return 'https://grass.osgeo.org/grass{}/manuals/'.format(version)
else:
# GRASS not available!
return 'https://grass.osgeo.org/grass72/manuals/'
return 'https://grass.osgeo.org/grass76/manuals/'

@staticmethod
def getSupportedOutputRasterExtensions():
Expand Down

0 comments on commit 8871a58

Please sign in to comment.