Skip to content

Commit

Permalink
Set preuninstall to remove json files
Browse files Browse the repository at this point in the history
  • Loading branch information
LyzardKing committed Nov 8, 2019
1 parent f3aeeae commit 5559b05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildres/linux/jabref.spec
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ for NATIVE_MESSAGING_JSON in "/usr/lib/mozilla/native-messaging-hosts/org.jabref
"/etc/chromium/native-messaging-hosts/org.jabref.jabref.json"\
"/etc/opt/chrome/native-messaging-hosts/org.jabref.jabref.json"; do
if [ -e $NATIVE_MESSAGING_JSON ] && grep --quiet '"path": "/opt' $NATIVE_MESSAGING_JSON; then
echo $NATIVE_MESSAGING_JSON
rm $NATIVE_MESSAGING_JSON
fi
done
UTILITY_SCRIPTS
Expand Down

0 comments on commit 5559b05

Please sign in to comment.