From 8ee8af3d7eec6bb85144db331af78954e6db29ef Mon Sep 17 00:00:00 2001 From: Jonathan Lestrelin Date: Sat, 1 Jun 2019 05:22:32 +0200 Subject: [PATCH] Revert changes breaking install from AUR --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index aba8b6b..27e2fe3 100755 --- a/install.sh +++ b/install.sh @@ -2,8 +2,8 @@ set -eu -o pipefail cd "$(dirname "$(realpath "${0}")")" -DATADIR=/usr/share -LIBDIR=/usr/lib +DATADIR=${DATADIR:-/usr/share} +LIBDIR=${LIBDIR:-/usr/lib} # The actual executable install -Dm 0755 gnome-pass-search-provider.py "${LIBDIR}"/gnome-pass-search-provider/gnome-pass-search-provider.py