]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Create target if it does not exist
authorPeter Palfrader <peter@palfrader.org>
Sat, 8 Dec 2012 17:47:07 +0000 (18:47 +0100)
committerPeter Palfrader <peter@palfrader.org>
Sat, 8 Dec 2012 17:47:07 +0000 (18:47 +0100)
modules/roles/files/static-mirroring/static-master-update-component

index 2f1742bec4815fc7395b81e1bd67590abbce3a2d..d9dae27c879ca41108547f79543606c784560dcb 100755 (executable)
@@ -84,10 +84,6 @@ if [ -z "$srchost" ] || [ -z "$srcdir" ]; then
   exit 1
 fi
 tgt="$base/$component"
-if ! [ -d "$tgt" ]; then
-  echo >&2 "$0: Invalid component: $component ($tgt does not exist)";
-  exit 1
-fi
 
 if [ "$srchost" = "`hostname -f`" ]; then
   src="$srcdir"