daily pastebin goal
23%
SHARE
TWEET

Untitled

a guest Jan 12th, 2018 54 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
Top