mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-26 10:11:27 +00:00
Fix setting of SYSTEMLIBDIR
in the appimage creation script.
If it is the first time the script is run, $APPDIR doesn't exist, so, by definition, `$APPDIR/lib` doesn't exists neither. We must check the library dir in `$INSTALLDIR` which is the "source" directory for script.
This commit is contained in:
@ -7,7 +7,7 @@ SOURCEDIR=${2:-$PWD/SOURCE/kiwix-desktop}
|
||||
APPDIR=${3:-$PWD/AppDir}
|
||||
|
||||
SYSTEMLIBDIR=lib/x86_64-linux-gnu
|
||||
if [ ! -e "$APPDIR/lib" ] ; then
|
||||
if [ ! -e "$INSTALLDIR/lib" ] ; then
|
||||
SYSTEMLIBDIR=lib64
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user