Skip to content
Browse files

Remove obsolete asset caching logic

  • Loading branch information...
1 parent 6045883 commit c9f3b7e960f6d75e19d5feda34f750db6079919f @ironcladlou ironcladlou committed
Showing with 0 additions and 16 deletions.
  1. +0 −16 .openshift/action_hooks/pre_build
View
16 .openshift/action_hooks/pre_build
@@ -4,19 +4,3 @@
# before the build step. This script gets executed directly, so it
# could be python, php, ruby, etc.
-data="${OPENSHIFT_DATA_DIR}/assets"
-assets="${OPENSHIFT_REPO_DIR}/public"
-
-# Make the data directory if it doesn't exist
-if [ ! -d "$data" ]; then
- mkdir $data;
-fi
-
-# Remove the assets directory if it's empty
-find $assets/assets -maxdepth 0 -type d -empty -delete 2> /dev/null
-
-# Try to make the symlink
-ln -s $data $assets 2> /dev/null
-if [ $? -gt 0 ]; then
- echo "Unable to create symlink to assets directory, using existing directory in repository"
-fi

0 comments on commit c9f3b7e

Please sign in to comment.
Something went wrong with that request. Please try again.