Permalink
Browse files

openshift deploy hook changed. | +Move hidden files ; +Data dir link …

…is optional
  • Loading branch information...
vimishor committed Jun 17, 2012
1 parent 727d37e commit 54cd47fa7f9ee0854a24abaf6f7e234f4196e51d
Showing with 4 additions and 3 deletions.
  1. +4 −3 .openshift/action_hooks/deploy
@@ -14,12 +14,13 @@ if [ ! -d "$OPENSHIFT_DATA_DIR/pages" ];
then
# move directory content
mv $OPENSHIFT_REPO_DIR/php/data/* $OPENSHIFT_DATA_DIR/
+ mv $OPENSHIFT_REPO_DIR/php/data/.??* $OPENSHIFT_DATA_DIR/
# remove directory
rm -rf $OPENSHIFT_REPO_DIR/php/data
- # create link
- ln -sf $OPENSHIFT_DATA_DIR/ $OPENSHIFT_REPO_DIR/php/data
+ # create link (optional)
+ #ln -sf $OPENSHIFT_DATA_DIR/ $OPENSHIFT_REPO_DIR/php/data
echo
echo "done."
@@ -30,4 +31,4 @@ then
echo "=================================================="
else
echo "This is not a fresh installation, skipping build"
-fi
+fi

0 comments on commit 54cd47f

Please sign in to comment.