Skip to content

Commit

Permalink
Merge pull request #9604 from JabRef/fixlinuxSpec
Browse files Browse the repository at this point in the history
Add rm -f to ignore failures in rpm spec file
  • Loading branch information
Siedlerchr authored Feb 8, 2023
2 parents ae84b22 + ac3cfd0 commit d708596
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Note that this project **does not** adhere to [Semantic Versioning](http://semve
- We fixed an issue where the browser import would add ' characters before the BibTeX entry on Linux [#9588](https://github.com/JabRef/jabref/issues/9588)
- We fixed an issue where searching for a specific term with the DOAB fetcher lead to an exception [#9571](https://github.com/JabRef/jabref/issues/9571)
- We fixed an issue where the "Import" -> "Library to import to" did not show the correct library name if two opened libraries had the same suffix [#9567](https://github.com/JabRef/jabref/issues/9567)
- We fixe an issue where the rpm-Version of JabRef could not be properly uninstalled and reinstalled [#9558](https://github.com/JabRef/jabref/issues/9558), [#9603](https://github.com/JabRef/jabref/issues/9603)



Expand Down
8 changes: 5 additions & 3 deletions buildres/linux/jabref.spec
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ Requires: PACKAGE_DEFAULT_DEPENDENCIES PACKAGE_CUSTOM_DEPENDENCIES
%description
APPLICATION_DESCRIPTION

%global __os_install_post %{nil}

%prep

%build
Expand Down Expand Up @@ -71,9 +73,9 @@ for NATIVE_MESSAGING_JSON in "/usr/lib/mozilla/native-messaging-hosts/org.jabref
fi
done
# Remove the auto-install triggers of the browser addon for chrom/chromium
rm /opt/google/chrome/extensions/bifehkofibaamoeaopjglfkddgkijdlh.json
rm /usr/share/google-chrome/extensions/bifehkofibaamoeaopjglfkddgkijdlh.json
UTILITY_SCRIPTS
rm -f /opt/google/chrome/extensions/bifehkofibaamoeaopjglfkddgkijdlh.json || true
rm -f /usr/share/google-chrome/extensions/bifehkofibaamoeaopjglfkddgkijdlh.json || true
DESKTOP_SCRIPTS
DESKTOP_COMMANDS_UNINSTALL

%clean

0 comments on commit d708596

Please sign in to comment.