Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanek Bevendorff <janek@jbev.net>2017-10-21 18:02:46 +0300
committerJanek Bevendorff <janek@jbev.net>2017-10-21 23:05:13 +0300
commit94ea91ec6321f0fc4fb6f1fa28149eff5b1cb08b (patch)
tree2fca5aa4e6a8eda98ad09288a9aced6cd0108573 /AppImage-Recipe.sh
parent76ac8dda547eadcc4091a7955a990f745af761ef (diff)
Switch from Ubuntu 14.04 to CentOS 7
Diffstat (limited to 'AppImage-Recipe.sh')
-rwxr-xr-xAppImage-Recipe.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/AppImage-Recipe.sh b/AppImage-Recipe.sh
index 2a40458fc..a05a118eb 100755
--- a/AppImage-Recipe.sh
+++ b/AppImage-Recipe.sh
@@ -34,6 +34,7 @@ fi
APP="$1"
LOWERAPP="$(echo "$APP" | tr '[:upper:]' '[:lower:]')"
VERSION="$2"
+export ARCH=x86_64
mkdir -p $APP.AppDir
wget -q https://github.com/probonopd/AppImages/raw/master/functions.sh -O ./functions.sh
@@ -42,6 +43,8 @@ wget -q https://github.com/probonopd/AppImages/raw/master/functions.sh -O ./func
LIB_DIR=./usr/lib
if [ -d ./usr/lib/x86_64-linux-gnu ]; then
LIB_DIR=./usr/lib/x86_64-linux-gnu
+elif [ -d ./usr/lib64 ]; then
+ LIB_DIR=./usr/lib64
fi
cd $APP.AppDir
@@ -51,7 +54,7 @@ rm -R ./usr/local
rmdir ./opt 2> /dev/null
# bundle Qt platform plugins and themes
-QXCB_PLUGIN="$(find /usr/lib -name 'libqxcb.so' 2> /dev/null)"
+QXCB_PLUGIN="$(find /usr/lib* -name 'libqxcb.so' 2> /dev/null)"
if [ "$QXCB_PLUGIN" == "" ]; then
QXCB_PLUGIN="$(find /opt/qt*/plugins -name 'libqxcb.so' 2> /dev/null)"
fi