Skip to content

Commit

Permalink
Merge pull request #336 from mariux64/fix-335
Browse files Browse the repository at this point in the history
install.sh: Install executable etc-files correctly
  • Loading branch information
donald authored Aug 14, 2023
2 parents 9a80ec8 + fb4deb6 commit 20ed3ef
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,11 @@ function install_symlink()
function install_etc_files()
{
(cd etc ; find * -type f) | while read -r path; do
install_data etc/$path "$DESTDIR$sysconfdir/$path"
if [[ -x etc/$path ]]; then
install_exec etc/$path "$DESTDIR$sysconfdir/$path"
else
install_data etc/$path "$DESTDIR$sysconfdir/$path"
fi
done
}

Expand Down

0 comments on commit 20ed3ef

Please sign in to comment.