Просмотр исходного кода

singularityfile: fix GRASS lib path detection

apply fix from #883 also here
Markus Neteler 4 лет назад
Родитель
Сommit
5303777476
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      singularity/debian/singularityfile_debian

+ 2 - 1
singularity/debian/singularityfile_debian

@@ -120,7 +120,8 @@ Singularity container for GRASS GIS to be run into GRASS main directory
 	make -j 2 && make install && ldconfig
     # Create generic GRASS GIS binary name regardless of version number
     ln -sf `find /usr/local/bin -name "grass??" | sort | tail -n 1` /usr/local/bin/grass
-    ln -sf `find /usr/local -type d -name "grass??" | sort | tail -n 1` /usr/local/grass
+    # Create generic GRASS GIS lib name regardless of version number
+    ln -sf `grass --config path` /usr/local/grass
     # Remove unused file
     apt-get autoremove -y
     apt-get clean -y