File: OpenSC_Uninstaller.applescript

package info (click to toggle)
opensc 0.26.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,420 kB
  • sloc: ansic: 178,823; xml: 6,327; sh: 2,115; makefile: 1,023; cpp: 304; lex: 92
file content (8 lines) | stat: -rw-r--r-- 405 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
tell application "System Events"
	if exists file "/usr/local/bin/opensc-uninstall" then
		set result to do shell script "/usr/local/bin/opensc-uninstall" with administrator privileges
		display alert "Removal complete" message result giving up after 10
	else
		display alert "OpenSC is not installed" message "Could not find /usr/local/bin/opensc-uninstall" as critical giving up after 10
	end if
end tell