Browse code

need a !

Anthony Young authored on 2011/09/15 02:20:14
Showing 1 changed files
... ...
@@ -51,7 +51,7 @@ fi
51 51
 
52 52
 # Warm the base image on first install
53 53
 CACHEDIR=/var/cache/lxc/natty/rootfs-amd64
54
-if [  -d $CACHEDIR ]; then
54
+if [ ! -d $CACHEDIR ]; then
55 55
     # trigger the initial debootstrap
56 56
     lxc-create -n $CONTAINER -t natty -f $LXC_CONF
57 57
     chroot $CACHEDIR apt-get update