Commit 40b21a7f authored by Luca Giambonini's avatar Luca Giambonini

Merge branch 'totte-testing-patch-05352' into 'testing'

Create link with ".conf" suffix

See merge request packages/core!6
parents 8584c9ff 75b197b9
Pipeline #1165 failed with stages
in 27 seconds
pkgname=pacman-mirrorlist pkgname=pacman-mirrorlist
pkgver=20180117 pkgver=20180117
pkgrel=1 pkgrel=2
pkgdesc="Chakra Linux mirror list for use by pacman" pkgdesc="Chakra Linux mirror list for use by pacman"
arch=('x86_64') arch=('x86_64')
url="https://chakralinux.org/code/core.git/plain/pacman-mirrorlist/mirrorlist" url="https://chakralinux.org/code/core.git/plain/pacman-mirrorlist/mirrorlist"
...@@ -13,4 +13,6 @@ md5sums=('637049e031cf3b361eaf26a65f0a9a58') ...@@ -13,4 +13,6 @@ md5sums=('637049e031cf3b361eaf26a65f0a9a58')
package() { package() {
mkdir -p $pkgdir/etc/pacman.d mkdir -p $pkgdir/etc/pacman.d
install -m644 $srcdir/mirrorlist $pkgdir/etc/pacman.d/ install -m644 $srcdir/mirrorlist $pkgdir/etc/pacman.d/
# Chakra: create link with ".conf" suffix to allow an easy upload of the file with Discourse
ln -s /etc/pacman.d/mirrorlist $pkgdir/etc/pacman.d/mirrorlist.conf
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment