summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2024-06-22 19:50:46 +0200
committerErich Eckner <git@eckner.net>2024-06-22 19:50:46 +0200
commitded0e59773b2223b55ab2df39835e2b3e63a315e (patch)
tree7d8f59c4b37408eab610d04b77071066d8522c4b
parent861d226aaf0773f9bb1f6357eda6bd19b5eb6b71 (diff)
downloadarchlinuxewe-ded0e59773b2223b55ab2df39835e2b3e63a315e.tar.xz
update-all: adapt dependencies for artix
-rwxr-xr-xupdate-all/PKGBUILD10
1 files changed, 9 insertions, 1 deletions
diff --git a/update-all/PKGBUILD b/update-all/PKGBUILD
index 99dac7c00..73139c101 100755
--- a/update-all/PKGBUILD
+++ b/update-all/PKGBUILD
@@ -7,11 +7,19 @@ arch=('any')
url="https://git.eckner.net/Erich/${pkgname}"
license=('GPL')
groups=()
-depends=(
+OS=$(
+ awk -F= '$1 == "ID" {print $2}' /etc/os-release
+)
+_arch_depends=(
'archlinux-contrib'
+)
+depends=(
'pacman-contrib'
'vim'
)
+if [ "${OS}" = 'arch' ]; then
+ depends+=("${_arch_depends[@]}")
+fi
makedepends=()
checkdepends=()
optdepends=(