mirror of
https://github.com/casjaysdevdocker/bind
synced 2024-11-25 05:23:10 -05:00
🗃️ Committing everything that changed 🗃️
rootfs/root/docker/setup/03-files.sh
This commit is contained in:
parent
3a57dffe04
commit
0146db6487
@ -51,6 +51,7 @@ if [ -d "/tmp/var" ]; then
|
|||||||
fi
|
fi
|
||||||
unset var
|
unset var
|
||||||
if [ -d "/tmp/etc" ]; then
|
if [ -d "/tmp/etc" ]; then
|
||||||
|
mkdir -p "/usr/local/share/template-files/config"
|
||||||
for config in "/tmp/etc"/*; do
|
for config in "/tmp/etc"/*; do
|
||||||
name="$(basename "$config")"
|
name="$(basename "$config")"
|
||||||
echo "Installing $config to /etc/$name"
|
echo "Installing $config to /etc/$name"
|
||||||
@ -67,6 +68,7 @@ if [ -d "/tmp/etc" ]; then
|
|||||||
fi
|
fi
|
||||||
unset config
|
unset config
|
||||||
if [ -d "/tmp/data" ]; then
|
if [ -d "/tmp/data" ]; then
|
||||||
|
mkdir -p "/usr/local/share/template-files/data"
|
||||||
for data in "/tmp/data"/*; do
|
for data in "/tmp/data"/*; do
|
||||||
name="$(basename "$data")"
|
name="$(basename "$data")"
|
||||||
echo "Installing $data to /usr/local/share/template-files/data"
|
echo "Installing $data to /usr/local/share/template-files/data"
|
||||||
|
Loading…
Reference in New Issue
Block a user