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