gengal-message-core
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Sat, 28 Mar 2020 05:53:24 +0000 (05:53 +0000)
committerRene Engelhard <rene@debian.org>
Sat, 28 Mar 2020 05:53:24 +0000 (05:53 +0000)
Gbp-Pq: Name gengal-message-core.diff

svx/source/gengal/gengal.sh

index 245c171c3cafdbc1a37ed7ae69fa6e3674e7a14b..1ea7bfd6361f8582aeddf9bfdb1aa2c0b2e38d97 100755 (executable)
@@ -89,6 +89,13 @@ unset XENVIRONMENT
 # uncomment line below if you encounter problems starting soffice on your system
 # SAL_NO_XINITTHREADS=true; export SAL_NO_XINITTHREADS
 
+# check if libreoffice-core is installed
+if ! test -f $sd_prog/libvclplug_genlo.so; then
+       echo "gengal.bin needs libreoffice-core installed. It won't work with just"
+       echo "libreoffice-core-nogui".
+       exit 1
+fi
+
 # execute binary
 exec "$sd_prog/gengal.bin" "$@" \
     "-env:INIFILENAME=vnd.sun.star.pathname:$sd_prog/redirectrc"