Zotero fix the launcher script
Hardcode the `CALLDIR` rather than trying to find it through readlink.
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user