1
Description: Check if we have the grass include and Make files
2
Author: M. Hamish Bowman <hamish.webmail@gmail.com>
4
--- a/scripts/g.extension/g.extension
5
+++ b/scripts/g.extension/g.extension
6
@@ -75,6 +75,14 @@ if [ "$1" != "@ARGS_PARSED@" ] ; then
7
exec g.parser "$0" "$@"
11
+# check if we have the grass include and Make files
12
+dpkg-query -l grass-dev | grep '^ii' > /dev/null 2> /dev/null
13
+if [ $? -ne 0 ] ; then
14
+ g.message -w "This module requires the \"grass-dev\" package"
20
SVNURL_ADDONS="$GIS_OPT_SVNURL"