luca
/
bootstrapper
Archived
1
0
Fork 0

fix symlink installation

This commit is contained in:
Luca Bilke 2024-07-24 19:07:37 +02:00
parent 9986a4bf8b
commit f12bc6b5c9
Signed by: luca
GPG Key ID: F6E11C9BAA7C82F5
1 changed files with 3 additions and 1 deletions

View File

@ -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!"
}