From f12bc6b5c9d0f158fe2e18dc9769b94b95aba78e Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Wed, 24 Jul 2024 19:07:37 +0200 Subject: [PATCH] fix symlink installation --- bootstrap.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bootstrap.sh b/bootstrap.sh index ba44341..2fc40b3 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -153,7 +153,9 @@ install_packages() { install_files() { ( cd "${SCRIPT_DIR}/files" || exit 1 - find . -type f,l -exec install -Dm 644 -o root -g root "{}" "/{}" \; + find . -type d -exec mkdir -p "/{}" \; + find . -type f -exec install -o root -g root "{}" "/{}" \; + find . -type l -exec cp -d "{}" "/{}" \; ) info "Done!" }