summaryrefslogtreecommitdiff
path: root/src/abslibre-tools/librestage
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-05-29 16:26:32 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-05-30 11:39:51 -0400
commit6aae21e666601687011f4de5749189d5fde950e0 (patch)
tree2e12ce3c782a7b5b06d4b6212033c0c573b38f81 /src/abslibre-tools/librestage
parent4d554c6ea9368ba5d0a9aeee1815a9d0f8b5ea48 (diff)
librefetch: Update for makepkg 5.1
Diffstat (limited to 'src/abslibre-tools/librestage')
-rwxr-xr-xsrc/abslibre-tools/librestage6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/abslibre-tools/librestage b/src/abslibre-tools/librestage
index 17d8d5f..bec536c 100755
--- a/src/abslibre-tools/librestage
+++ b/src/abslibre-tools/librestage
@@ -4,7 +4,7 @@
# Copyright (C) 2010-2012 Nicolás Reynolds <fauno@parabola.nu>
# Copyright (C) 2011 Joshua Ismael Haase Hernández (xihh) <hahj87@gmail.com>
-# Copyright (C) 2013-2014, 2017 Luke Shumaker <lukeshu@parabola.nu>
+# Copyright (C) 2013-2014, 2017-2018 Luke Shumaker <lukeshu@parabola.nu>
#
# License: GNU GPLv3+
#
@@ -79,8 +79,8 @@ main() {
# Look for (libre)makepkg output
local CARCH _pkgname pkgnames pkgfile
for CARCH in "${arch[@]}"; do
- # This supports both pacman <= 5.0.1 pkgname-debug
- # packages and pacman-git pkgbase-debug packages.
+ # This supports both pacman < 5.1 pkgname-debug
+ # packages and pacman >= 5.1 pkgbase-debug packages.
pkgnames=("${pkgname[@]}" "${pkgname[@]/%/-debug}")
in_array "$pkgbase" "${pkgname[@]}" || pkgnames+=("${pkgbase}-debug")
for _pkgname in "${pkgnames[@]}"; do