Skip to content

Commit

Permalink
Merge pull request #25 from davidgfnet/master
Browse files Browse the repository at this point in the history
Fix issues with bash 5.2
  • Loading branch information
sharkwouter authored Jun 28, 2023
2 parents 45f9780 + 8fb7463 commit aedc049
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions patches/pacman-6.0.1.patch
Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,15 @@ index e398855..15b00de 100644
pm_printf(ALPM_LOG_ERROR, _("you cannot perform this operation unless you are root.\n"));
cleanup(EXIT_FAILURE);
}
diff --git a/scripts/libmakepkg/lint_package/dotfiles.sh.in b/scripts/libmakepkg/lint_package/dotfiles.sh.in
index 0b993dd4..4c447bd0 100644
--- a/scripts/libmakepkg/lint_package/dotfiles.sh.in
+++ b/scripts/libmakepkg/lint_package/dotfiles.sh.in
@@ -34,6 +34,7 @@ check_dotfiles() {
shopt -s nullglob

for f in "$pkgdir"/.*; do
+ [[ -e "${f}" ]] || continue
[[ ${f##*/} == . || ${f##*/} == .. ]] && continue
error "$(gettext "Dotfile found in package root '%s'")" "$f"
ret=1

0 comments on commit aedc049

Please sign in to comment.