Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- pkg=$1
- creates=$2
- if [[ -z $pkg || -z $creates ]]; then
- echo "Usage: [package name] [file/dir the package creates]"
- exit 1
- fi
- if [ -e $creates ]; then
- touch /var/db/.puppet_pkgdmg_installed_$pkg
- fi
Add Comment
Please, Sign In to add comment