Forgot the .htaccess copy

This commit is contained in:
Michael Babker 2015-07-25 16:13:54 -04:00
parent 4ed97b851d
commit ba5df1da80
3 changed files with 21 additions and 0 deletions

View File

@ -43,6 +43,13 @@ if ! [ -e index.php -a -e libraries/cms/version/version.php ]; then
fi
tar cf - --one-file-system -C /usr/src/joomla . | tar xf -
if [ ! -e .htaccess ]; then
# NOTE: The "Indexes" option is disabled in the php:apache base image so we use a customized .htaccess
cp /joomla-htaccess .htaccess
chown www-data:www-data .htaccess
fi
echo >&2 "Complete! Joomla has been successfully copied to $(pwd)"
fi

View File

@ -43,6 +43,13 @@ if ! [ -e index.php -a -e libraries/cms/version/version.php ]; then
fi
tar cf - --one-file-system -C /usr/src/joomla . | tar xf -
if [ ! -e .htaccess ]; then
# NOTE: The "Indexes" option is disabled in the php:apache base image so we use a customized .htaccess
cp /joomla-htaccess .htaccess
chown www-data:www-data .htaccess
fi
echo >&2 "Complete! Joomla has been successfully copied to $(pwd)"
fi

View File

@ -43,6 +43,13 @@ if ! [ -e index.php -a -e libraries/cms/version/version.php ]; then
fi
tar cf - --one-file-system -C /usr/src/joomla . | tar xf -
if [ ! -e .htaccess ]; then
# NOTE: The "Indexes" option is disabled in the php:apache base image so we use a customized .htaccess
cp /joomla-htaccess .htaccess
chown www-data:www-data .htaccess
fi
echo >&2 "Complete! Joomla has been successfully copied to $(pwd)"
fi