Overview
Comment: | Added uninstall script for CACKey on Mac OS X, to be made available for download by popular demand. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: | 976efa3ffcc20ec33d44235a0f5353a7c2f54e2b |
User & Date: | kvanals on 2015-09-25 19:17:54 |
Other Links: | manifest | tags |
Context
2015-09-30
| ||
15:11 | Updated Mac OS X build script to validate SHA-256 Checksum of outside-sourced TokenD check-in: cbe478d8a3 user: kvanals tags: trunk | |
2015-09-25
| ||
19:17 | Added uninstall script for CACKey on Mac OS X, to be made available for download by popular demand. check-in: 976efa3ffc user: kvanals tags: trunk | |
2015-08-30
| ||
03:21 | Updated to use older mechanism for activating gzip support in zlib, to support zlib older than zlib 1.2.4 check-in: ce2ae07c02 user: rkeene tags: trunk | |
Changes
Added build/cackey_osx_build/cackey_osx_uninstall.sh version [5cfe13de6d].
1 +#!/bin/bash 2 +# Script to remove current and previous releases of CACKey from Mac OS X 3 + 4 +if [ "`whoami`" != "root" ]; then 5 + echo "Please rerun this script with sudo or directly as root." 6 + exit 1 7 +fi 8 + 9 +# Remove Directories and Files 10 +echo "Removing CACKey-related files and directories, if they exist..." 11 +rm -rf /usr/lib/pkcs11/*cackey* 12 +rm -rf /usr/local/lib/pkcs11/*cackey* 13 +rm -rf /Library/CACKey 14 +rm -rf /System/Library/Security/tokend/PKCS11.tokend 15 +rm -rf /Library/Security/tokend/PKCS11.tokend 16 + 17 +# Forget about packages installed 18 +echo "Removing saved Mac OS X package information for CACKey..." 19 +for package in `pkgutil --pkgs | grep -i CACKey`; do 20 + pkgutil --forget ${package} 21 +done