Zotero fix the launcher script

Hardcode the `CALLDIR` rather than trying to find it through readlink.
This commit is contained in:
2020-08-12 12:16:56 +02:00
parent a23ea1a9d5
commit 372a51cb04
2 changed files with 7 additions and 1 deletions

View File

@ -44,12 +44,18 @@ S="${WORKDIR}"
src_prepare() {
default
sed -e 's|CALLDIR=.*|CALLDIR="/opt/Zotero"|' -i Zotero_linux-x86_64/zotero || die
}
src_install() {
insinto /opt/Zotero
doins -r Zotero_linux-x86_64/*
insinto /usr/share/applications
doins -r Zotero_linux-x86_64/zotero.desktop
fperms +x /opt/Zotero/zotero
fperms +x /opt/Zotero/zotero-bin
dosym ../../opt/Zotero/zotero /usr/bin/zotero
}