summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Shapovalov2023-12-18 04:34:15 +0300
committerIvan Shapovalov2023-12-23 02:43:48 +0100
commiteee457b2882416d590fa92a1888beebe9da2ad0d (patch)
treeda2be689f2a5646030d25f741935b7749e0daaa9
parentec74c968b1dc9a7d0925d7b70042b2964c288cf3 (diff)
downloadaur-eee457b2882416d590fa92a1888beebe9da2ad0d.tar.gz
Point installed .service files towards the right k3s
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a7c7fa3e1b38..53e9d8a92dd4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = k3s-git
pkgdesc = Lightweight Kubernetes
pkgver = 1.28.4+k3s2+r8+g231cb6ed20
- pkgrel = 1
+ pkgrel = 2
url = https://k3s.io
arch = x86_64
license = Apache
diff --git a/PKGBUILD b/PKGBUILD
index 9f48e586bbd7..c593f0fac844 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=k3s-git
pkgver=1.28.4+k3s2+r8+g231cb6ed20
-pkgrel=1
+pkgrel=2
pkgdesc='Lightweight Kubernetes'
arch=(x86_64)
url='https://k3s.io'
@@ -35,6 +35,8 @@ prepare() {
scripts/package-cli \
scripts/package-airgap \
+ sed -i -r 's|/usr/local/bin/k3s|/usr/bin/k3s|' \
+ *.service
}
build() {