mirror of
https://github.com/casjaysdevdocker/tor
synced 2025-01-18 00:34:29 -05:00
🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/init.d/98-php.sh
This commit is contained in:
parent
0fd0a45c36
commit
364d3108cf
@ -177,7 +177,7 @@ __run_precopy() {
|
|||||||
# Define actions/commands
|
# Define actions/commands
|
||||||
if [ ! -d "$WWW_ROOT_DIR" ] || __is_dir_empty "$WWW_ROOT_DIR"; then
|
if [ ! -d "$WWW_ROOT_DIR" ] || __is_dir_empty "$WWW_ROOT_DIR"; then
|
||||||
mkdir -p "$WWW_ROOT_DIR"
|
mkdir -p "$WWW_ROOT_DIR"
|
||||||
cp -Rfv "/usr/share/httpd/default"/* "$WWW_ROOT_DIR/"
|
cp -Rf "/usr/share/httpd/default"/* "$WWW_ROOT_DIR/"
|
||||||
fi
|
fi
|
||||||
if [ -d "$WWW_ROOT_DIR/.git" ]; then
|
if [ -d "$WWW_ROOT_DIR/.git" ]; then
|
||||||
rm -Rf "$WWW_ROOT_DIR/.git"
|
rm -Rf "$WWW_ROOT_DIR/.git"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user