Skip to content

Instantly share code, notes, and snippets.

@flammable

flammable/pdf_installcheck.sh Secret

Created Jun 17, 2015
Embed
What would you like to do?
#!/bin/bash
PDFPLUGIN1="/Library/Internet Plug-Ins/AdobePDFViewer.plugin"
PDFPLUGIN2="/Library/Internet Plug-Ins/AdobePDFViewerNPAPI.plugin"
if [[ -e ${PDFPLUGIN1} ]] || [[ -e ${PDFPLUGIN2} ]]; then
exit 0
else
exit 1
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.