From: probonopd Date: Sun, 12 Nov 2017 16:42:57 +0000 (+0100) Subject: Get rid of the hardcoded version X-Git-Tag: 7.0.7-12~92 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e8e4b18e2e8582c3e667a98d9b78a5103a74bed2;p=imagemagick Get rid of the hardcoded version --- diff --git a/AppRun b/AppRun index 2f051473a..16d940346 100644 --- a/AppRun +++ b/AppRun @@ -8,7 +8,7 @@ HERE="$(dirname "$(readlink -f "${0}")")" export MAGICK_HOME="$HERE/usr" # http://www.imagemagick.org/QuickStart.txt -export MAGICK_CONFIGURE_PATH="$HERE/usr/lib/ImageMagick-7.0.7/config-Q16/" # Undocumented? +export MAGICK_CONFIGURE_PATH=$(readlink -f "$HERE/usr/lib/ImageMagick-*/config-*/") # Undocumented? if [ "$1" == "man" ] ; then export MANPATH="$HERE/usr/share/man:$MANPATH" ; exec "$@" ; exit $?