From f0354bc56706cb955b07cb0ed21073a0edbc1de8 Mon Sep 17 00:00:00 2001 From: langfingaz Date: Mon, 3 May 2021 18:45:52 +0200 Subject: [PATCH] fix systemd system-preset --- README.md | 2 +- pkg/de-p1st-dns/PKGBUILD | 6 +++--- pkg/de-p1st-networkmanager/PKGBUILD | 6 +++--- pkg/de-p1st-smartcard/PKGBUILD | 4 ++-- pkg/de-p1st-systemd/PKGBUILD | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 8e3b70f..613e1ae 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ Example: [pkg/de-p1st-gnupg/PKGBUILD](pkg/de-p1st-gnupg/PKGBUILD) * [man 5 systemd.preset](https://www.systutorials.com/docs/linux/man/5-systemd.preset/) ```shell -install -Dm0644 systemd.preset "$pkgdir"/usr/lib/systemd/system-preset/"$pkgname".preset +install -Dm0644 systemd.preset "$pkgdir"/usr/lib/systemd/system-preset/20-"$pkgname".preset ``` Example package: diff --git a/pkg/de-p1st-dns/PKGBUILD b/pkg/de-p1st-dns/PKGBUILD index 04a9cc1..4e26ef2 100644 --- a/pkg/de-p1st-dns/PKGBUILD +++ b/pkg/de-p1st-dns/PKGBUILD @@ -2,8 +2,8 @@ _pkgname=dns _reponame=arch pkgname="de-p1st-$_pkgname" -pkgver=0.0.2 -pkgrel=4 +pkgver=0.0.3 +pkgrel=1 pkgdesc="DNS configuration: Use DNS over TLS" arch=('any') url="https://codeberg.org/privacy1st/${_reponame}" @@ -35,5 +35,5 @@ package() { install -Dm0644 DoT.conf "$pkgdir"/etc/systemd/resolved.conf.d/DoT.conf install -Dm0644 dns.conf "$pkgdir"/etc/NetworkManager/conf.d/dns.conf - install -Dm0644 systemd.preset "$pkgdir"/usr/lib/systemd/system-preset/"$pkgname".preset + install -Dm0644 systemd.preset "$pkgdir"/usr/lib/systemd/system-preset/20-"$pkgname".preset } diff --git a/pkg/de-p1st-networkmanager/PKGBUILD b/pkg/de-p1st-networkmanager/PKGBUILD index b86afdc..d18c513 100644 --- a/pkg/de-p1st-networkmanager/PKGBUILD +++ b/pkg/de-p1st-networkmanager/PKGBUILD @@ -2,8 +2,8 @@ _pkgname=networkmanager _reponame=arch pkgname="de-p1st-$_pkgname" -pkgver=0.0.1 -pkgrel=2 +pkgver=0.0.2 +pkgrel=1 pkgdesc="NetworkManager with configuration" arch=('any') url="https://codeberg.org/privacy1st/${_reponame}" @@ -26,5 +26,5 @@ sha256sums=('SKIP') package() { cd "${_reponame}/pkg/${pkgname}" - install -Dm0644 systemd.preset "$pkgdir"/usr/lib/systemd/system-preset/"$pkgname".preset + install -Dm0644 systemd.preset "$pkgdir"/usr/lib/systemd/system-preset/20-"$pkgname".preset } diff --git a/pkg/de-p1st-smartcard/PKGBUILD b/pkg/de-p1st-smartcard/PKGBUILD index 40f668c..440156c 100644 --- a/pkg/de-p1st-smartcard/PKGBUILD +++ b/pkg/de-p1st-smartcard/PKGBUILD @@ -2,7 +2,7 @@ _pkgname=smartcard _reponame=arch pkgname="de-p1st-$_pkgname" -pkgver=0.0.1 +pkgver=0.0.2 pkgrel=1 pkgdesc="Configuration to use smartcards" arch=('any') @@ -27,5 +27,5 @@ package() { cd "${_reponame}/pkg/${pkgname}" install -Dm0544 opensc.conf.holoscript "$pkgdir"/usr/share/holo/files/"$pkgname"/etc/opensc.conf.holoscript - install -Dm0644 systemd.preset "$pkgdir"/usr/lib/systemd/system-preset/"$pkgname".preset + install -Dm0644 systemd.preset "$pkgdir"/usr/lib/systemd/system-preset/20-"$pkgname".preset } diff --git a/pkg/de-p1st-systemd/PKGBUILD b/pkg/de-p1st-systemd/PKGBUILD index ffb18d1..325142f 100644 --- a/pkg/de-p1st-systemd/PKGBUILD +++ b/pkg/de-p1st-systemd/PKGBUILD @@ -2,7 +2,7 @@ _pkgname=systemd _reponame=arch pkgname="de-p1st-$_pkgname" -pkgver=0.0.2 +pkgver=0.0.3 pkgrel=1 pkgdesc="systemd with configuration" arch=('any') @@ -27,5 +27,5 @@ package() { cd "${_reponame}/pkg/${pkgname}" install -Dm0644 00-journal-size.conf "$pkgdir"/etc/systemd.conf.d/00-journal-size.conf - install -Dm0644 systemd.preset "$pkgdir"/usr/lib/systemd/system-preset/"$pkgname".preset + install -Dm0644 systemd.preset "$pkgdir"/usr/lib/systemd/system-preset/20-"$pkgname".preset }