🗃️ Committing everything that changed 🗃️

rootfs/root/docker/setup/03-files.sh
This commit is contained in:
casjay 2024-08-27 13:44:45 -04:00
parent 584deb888d
commit 2b27abddad
Signed by untrusted user who does not match committer: jason
GPG Key ID: 1AB309F42A764145

View File

@ -39,7 +39,7 @@ fi
unset bin
if [ -d "/tmp/var" ]; then
for var in "/tmp/var"/*; do
name="${var//\/tmp\/var\//}"
name="$(basename "$var")"
echo "Installing $var to /var/$name"
if [ -d "$var" ]; then
mkdir -p "/var/$name"
@ -52,7 +52,7 @@ fi
unset var
if [ -d "/tmp/etc" ]; then
for config in "/tmp/etc"/*; do
name="${config//\/tmp\/etc\//}"
name="$(basename "$config")"
echo "Installing $config to /etc/$name"
if [ -d "$config" ]; then
mkdir -p "/etc/$name"
@ -68,7 +68,7 @@ fi
unset config
if [ -d "/tmp/data" ]; then
for data in "/tmp/data"/*; do
name="${data//\/tmp\/data\//}"
name="$(basename "$bin")"
echo "Installing $data to /usr/local/share/template-files/data"
if [ -d "$data" ]; then
mkdir -p "/usr/local/share/template-files/data/$name"