File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 54
54
echo
55
55
56
56
export
57
- if ! $DRUSH_SCRIPT dl drupal --default-major=8 --dev --destination=${OPENSHIFT_DATA_DIR} downloads --yes
57
+ # Skip this, since d.o dev releases for 8.x seem to be corrupt a lot of the time.
58
+ # if ! $DRUSH_SCRIPT dl drupal --default-major=8 --dev --destination=${OPENSHIFT_DATA_DIR}downloads --yes
59
+ if ! wget -O ${OPENSHIFT_DATA_DIR} downloads/drupal.tgz http://ftp.drupal.org/files/projects/drupal-8.x-dev.tar.gz
58
60
then
59
- echo " ERROR: Unable download and install Drupal."
61
+ echo " ERROR: Unable to download Drupal."
60
62
exit 7
61
63
fi
64
+
65
+ if ! tar xzf -C ${OPENSHIFT_DATA_DIR} /downloads ${OPENSHIFT_DATA_DIR} downloads/drupal.tgz
66
+ then
67
+ echo " ERROR: Unable to extract Drupal."
68
+ exit 12
69
+ fi
70
+
62
71
export DRUPAL_INSTALL_DIR=" ${OPENSHIFT_DATA_DIR} downloads/` ls -1rt ${OPENSHIFT_DATA_DIR} downloads | head -1` "
63
72
ln -s ${DRUPAL_INSTALL_DIR} ${OPENSHIFT_DATA_DIR} downloads/current
64
73
You can’t perform that action at this time.
0 commit comments