remove extra /usr from the XDG paths fix
This commit is contained in:
parent
8038da6b63
commit
da275ce717
@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Qt 5 implementation of freedesktop.org XDG specification
|
||||
TERMUX_PKG_LICENSE="LGPL-2.1"
|
||||
TERMUX_PKG_MAINTAINER="Simeon Huang <symeon@librehat.com>"
|
||||
TERMUX_PKG_VERSION=3.7.1
|
||||
TERMUX_PKG_REVISION=2
|
||||
TERMUX_PKG_REVISION=3
|
||||
TERMUX_PKG_SRCURL="https://github.com/lxqt/libqtxdg/releases/download/${TERMUX_PKG_VERSION}/libqtxdg-${TERMUX_PKG_VERSION}.tar.xz"
|
||||
TERMUX_PKG_SHA256=477cbe76b3305071ff5f5bfa31dbcddcc51f3434b9ed75d91988219296d88a9b
|
||||
TERMUX_PKG_DEPENDS="qt5-qtbase, qt5-qtsvg, glib"
|
||||
|
@ -24,8 +24,8 @@
|
||||
if (dirs.isEmpty()) {
|
||||
- dirs.append(QString::fromLatin1("/usr/local/share"));
|
||||
- dirs.append(QString::fromLatin1("/usr/share"));
|
||||
+ dirs.append(QString::fromLatin1(TERMUX_PREFIX) + QString::fromLatin1("/usr/local/share"));
|
||||
+ dirs.append(QString::fromLatin1(TERMUX_PREFIX) + QString::fromLatin1("/usr/share"));
|
||||
+ dirs.append(QString::fromLatin1(TERMUX_PREFIX) + QString::fromLatin1("/local/share"));
|
||||
+ dirs.append(QString::fromLatin1(TERMUX_PREFIX) + QString::fromLatin1("/share"));
|
||||
} else {
|
||||
QMutableListIterator<QString> it(dirs);
|
||||
while (it.hasNext()) {
|
||||
|
Loading…
Reference in New Issue
Block a user