From 821cda38f4e1bd837cb83e11c171e2d60d28e239 Mon Sep 17 00:00:00 2001 From: casjay Date: Tue, 27 Aug 2024 09:53:59 -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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rootfs/root/docker/setup/03-files.sh b/rootfs/root/docker/setup/03-files.sh index a51cc62..94dd5cb 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 @@ -40,14 +40,14 @@ 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" + 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" done fi unset data if [ -d "/tmp/etc" ]; then - for config in "/tmp/etc"/* + for config in "/tmp/etc"/*; do name="${config//\/tmp\/etc/\/}" echo "Installing $config to /etc/$name" if [ -d "$config" ]; then