From ab5e9e1564b4af504f3770e4434a5c1ff93a42f8 Mon Sep 17 00:00:00 2001 From: casjay Date: Tue, 27 Aug 2024 14:14:41 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit rootfs/root/docker/setup/03-files.sh --- rootfs/root/docker/setup/03-files.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/rootfs/root/docker/setup/03-files.sh b/rootfs/root/docker/setup/03-files.sh index 84ecbc8..685f296 100755 --- a/rootfs/root/docker/setup/03-files.sh +++ b/rootfs/root/docker/setup/03-files.sh @@ -32,7 +32,7 @@ if [ -d "/tmp/bin" ]; then for bin in "/tmp/bin"/*; do name="$(basename "$bin")" echo "Installing $name to /usr/local/bin/$name" - copy "$bin"* "/usr/local/bin/$name" + copy "$bin" "/usr/local/bin/$name" chmod -f +x "/usr/local/bin/$name" done fi @@ -43,7 +43,7 @@ if [ -d "/tmp/var" ]; then echo "Installing $var to /var/$name" if [ -d "$var" ]; then mkdir -p "/var/$name" - copy "$var"/* "/var/$name/" + copy "$var/." "/var/$name/" else copy "$var" "/var/$name" fi @@ -57,9 +57,9 @@ if [ -d "/tmp/etc" ]; then echo "Installing $config to /etc/$name" if [ -d "$config" ]; then mkdir -p "/etc/$name" - copy "$config"/* "/etc/$name/" + copy "$config/." "/etc/$name/" mkdir -p "/usr/local/share/template-files/config/$name" - copy "$config"/* "/usr/local/share/template-files/config/$name/" + copy "$config/." "/usr/local/share/template-files/config/$name/" else copy "$config" "/etc/$name" copy "$config" "/usr/local/share/template-files/config/$name" @@ -74,7 +74,7 @@ if [ -d "/tmp/data" ]; then 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/" + copy "$data/." "/usr/local/share/template-files/data/$name/" else copy "$data" "/usr/local/share/template-files/data/$name" fi