From 252c2765cb57f0996faebc350dfceed594389b87 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 26 Aug 2018 17:17:07 -0400 Subject: libre/pacman: Pacman complains if a glob doesn't match --- libre/pacman/PKGBUILD | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libre/pacman/PKGBUILD b/libre/pacman/PKGBUILD index a838ac8ec..1976af1fc 100644 --- a/libre/pacman/PKGBUILD +++ b/libre/pacman/PKGBUILD @@ -12,7 +12,7 @@ pkgname=pacman pkgver=5.1.1 pkgrel=1 -pkgrel+=.parabola4 +pkgrel+=.parabola5 pkgdesc="A library-based package manager with dependency support" arch=('x86_64') arch+=('i686' 'armv7h') @@ -128,9 +128,10 @@ package() { make DESTDIR="$pkgdir" install # install distro-specific stuff - install -dm755 "$pkgdir/etc/makepkg.d" + install -dm755 "$pkgdir"/etc/{makepkg,pacman}.d install -m644 "$srcdir/pacman.conf.$CARCH" "$pkgdir/etc/pacman.conf" install -m644 "$srcdir/makepkg.conf.$CARCH" "$pkgdir/etc/makepkg.conf" + echo '# There must be at least 1 file matching /etc/pacman.d/*.conf' > "$pkgdir/etc/pacman.d/empty.conf" install -dm755 "$pkgdir/usr/share/pacman/defaults" local carch -- cgit v1.2.3