daily pastebin goal
24%
SHARE
TWEET

Untitled

a guest Jan 12th, 2018 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2.  
  3. pkg=$1
  4. creates=$2
  5.  
  6. if [[ -z $pkg || -z $creates ]]; then
  7.     echo "Usage: [package name] [file/dir the package creates]"
  8.     exit 1
  9. fi
  10.  
  11. if [ -e $creates ]; then
  12.     touch /var/db/.puppet_pkgdmg_installed_$pkg
  13. fi
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top