Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #uninstall os x application installed with installer -pkg
- #using (user) provided bom receipt
- #place all installed files and directories in user's Trash
- lsbom="/usr/bin/lsbom"
- cd="/usr/bin/cd"
- sudo="/usr/bin/sudo"
- xargs="/usr/bin/xargs"
- rmtrash="/opt/local/bin/rmtrash"
- lsbom -fls "$1" | (cd /; sudo xargs rmtrash -u $USER)
- exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement