Skip to content

Commit

Permalink
Merge pull request #343 from mariux64/fix-etc-bee-index
Browse files Browse the repository at this point in the history
install.sh: Fix bee registery of /etc/files
  • Loading branch information
donald authored Aug 24, 2023
2 parents 20ed3ef + af9dd1c commit b0f769c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,14 @@ function install_symlink()

function install_etc_files()
{
(cd etc ; find * -type f) | while read -r path; do
while read -r path; do
path="${path#./}"
if [[ -x etc/$path ]]; then
install_exec etc/$path "$DESTDIR$sysconfdir/$path"
install_exec "etc/$path" "$DESTDIR$sysconfdir/$path"
else
install_data etc/$path "$DESTDIR$sysconfdir/$path"
install_data "etc/$path" "$DESTDIR$sysconfdir/$path"
fi
done
done < <(cd etc ; find ./* -type f)
}

function postinstall()
Expand Down

0 comments on commit b0f769c

Please sign in to comment.