Skip to content

Commit d03d85a

Browse files
committed
Remove chromium json install in rpm spec
Revert after the chromium files are introduced in the repo
1 parent 61d84fe commit d03d85a

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

Diff for: buildres/linux/jabref.spec

+2-6
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,11 @@ cp -r %{_sourcedir}APPLICATION_DIRECTORY/* %{buildroot}APPLICATION_DIRECTORY
5252
%(echo APPLICATION_DIRECTORY | sed -e "s|\(^/[^/]\{1,\}\).*$|\1|")
5353

5454
%post
55-
install -D -m0755 /opt/jabref/lib/native-messaging-host/firefox/org.jabref.jabref.json /usr/lib/mozilla/native-messaging-hosts/org.jabref.jabref.json
56-
install -D -m0755 /opt/jabref/lib/native-messaging-host/chromium/org.jabref.jabref.json /etc/chromium/native-messaging-hosts/org.jabref.jabref.json
57-
install -D -m0755 /opt/jabref/lib/native-messaging-host/chromium/org.jabref.jabref.json /etc/opt/chrome/native-messaging-hosts/org.jabref.jabref.json
55+
install -D -m0755 /opt/jabref/lib/org.jabref.jabref.json /usr/lib/mozilla/native-messaging-hosts/org.jabref.jabref.json
5856
DESKTOP_COMMANDS_INSTALL
5957

6058
%preun
61-
for NATIVE_MESSAGING_JSON in "/usr/lib/mozilla/native-messaging-hosts/org.jabref.jabref.json"\
62-
"/etc/chromium/native-messaging-hosts/org.jabref.jabref.json"\
63-
"/etc/opt/chrome/native-messaging-hosts/org.jabref.jabref.json"; do
59+
for NATIVE_MESSAGING_JSON in "/usr/lib/mozilla/native-messaging-hosts/org.jabref.jabref.json"; do
6460
if [ -e $NATIVE_MESSAGING_JSON ] && grep --quiet '"path": "/opt' $NATIVE_MESSAGING_JSON; then
6561
echo $NATIVE_MESSAGING_JSON
6662
fi

0 commit comments

Comments
 (0)