mirror of
https://github.com/casjaysdevdocker/bind
synced 2026-10-12 02:13:08 -04:00
🗃️ Committing everything that changed 🗃️
rootfs/root/docker/setup/03-files.sh rootfs/tmp/ rootfs/usr/local/share/template-files/config/bind/named.conf rootfs/usr/local/share/template-files/config/bind/rndc.key rootfs/usr/local/share/template-files/config/nginx/fastcgi_params rootfs/usr/local/share/template-files/config/nginx/mime.types rootfs/usr/local/share/template-files/config/nginx/nginx.conf rootfs/usr/local/share/template-files/config/php/php-fpm.conf rootfs/usr/local/share/template-files/config/php/php-fpm.d/www.conf rootfs/usr/local/share/template-files/config/php/php.ini rootfs/usr/local/share/template-files/data/bind/root.cache
This commit is contained in:
10 files changed
+25
-8
No files matched your search
@@ -37,18 +37,22 @@ if [ -d "/tmp/bin" ]; then
|
||||
done
|
||||
fi
|
||||
unset bin
|
||||
if [ -d "/tmp/data" ]; then
|
||||
for data in "/tmp/data"/*; do
|
||||
name="$(basename "$data")"
|
||||
echo "Installing $name to /usr/local/share/template-files/data/$name"
|
||||
mkdir -p "/usr/local/share/template-files/data/$name"
|
||||
copy "$data"/* "/usr/local/share/template-files/data/$name"
|
||||
if [ -d "/tmp/var" ]; then
|
||||
for var in "/tmp/var"/*; do
|
||||
name="${var//\/tmp\/var\//}"
|
||||
echo "Installing $var to /var/$name"
|
||||
if [ -d "$var" ]; then
|
||||
mkdir -p "/var/$name"
|
||||
copy "$var"/* "/var/$name/"
|
||||
else
|
||||
copy "$var" "/var/$name"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
unset data
|
||||
unset var
|
||||
if [ -d "/tmp/etc" ]; then
|
||||
for config in "/tmp/etc"/*; do
|
||||
name="${config//\/tmp\/etc/\/}"
|
||||
name="${config//\/tmp\/etc\//}"
|
||||
echo "Installing $config to /etc/$name"
|
||||
if [ -d "$config" ]; then
|
||||
mkdir -p "/etc/$name"
|
||||
@@ -62,6 +66,19 @@ if [ -d "/tmp/etc" ]; then
|
||||
done
|
||||
fi
|
||||
unset config
|
||||
if [ -d "/tmp/data" ]; then
|
||||
for data in "/tmp/data"/*; do
|
||||
name="${data//\/tmp\/data\//}"
|
||||
echo "Installing $data to /usr/local/share/template-files/data"
|
||||
if [ -d "$data" ]; then
|
||||
mkdir -p "/usr/local/share/template-files/data/$name"
|
||||
copy "$data"/* "/usr/local/share/template-files/data/$name/"
|
||||
else
|
||||
copy "$data" "/usr/local/share/template-files/data/$name"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
unset data
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# Main script
|
||||
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user