Zotero fix the launcher script
Hardcode the `CALLDIR` rather than trying to find it through readlink.
This commit is contained in:
@ -1,2 +1,2 @@
|
||||
DIST zotero-5.0.89.tar.bz2 60183940 BLAKE2B fc871095b59bd0114c431075035381c9f904d010d2af5c2d8d531ee27317eb4f1c820934dcba70d5ca15449f95605c20334aa553fe72a72b15ff28d5ba0be947 SHA512 61245af3095396cd338e90f325aa5f32087f074c3d03c23b5de05fb1b265afab6320a8b9f33c40f6c3b91123669cb8e73b0e9e107ab66df0b5ac96eda2294bf8
|
||||
EBUILD zotero-5.0.89.ebuild 1980 BLAKE2B 03136ff4c6d9585f448cb420d8fa17ecdf2df9f5c6c47c0c1eebaa423da6da2c9e36bc0489c14a90f7b5278d29aefa7fc68aa2d76d174f2de07a05a5c0a57f81 SHA512 3d089fb75cbe5ba0835e17af45f966a66f6d6192d90dbdf6531e6ebae196fab0b684b26a084ca1542922faed81452403c39e3cafc59e6906fab1fd144d700d53
|
||||
EBUILD zotero-5.0.89.ebuild 2206 BLAKE2B 483f9d6c537baf9fe49b75a18f32aea9d3f22398c0f686a01c5b33a11b42276c1743a1beff5b4d01fa85b14dd89a18fa3a033fe2d7b8a9f59f858e5f2f1b00eb SHA512 fc14454276369e56afa78c2b684db616c5f60e0da743b0b40b479b480b12a9c348b612df40e4434eca5cfd47705b840530197713f2e0c876a2a3c16aa281fb9a
|
||||
|
@ -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