diff options
author | Erich Eckner <git@eckner.net> | 2024-06-22 19:50:46 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2024-06-22 19:50:46 +0200 |
commit | ded0e59773b2223b55ab2df39835e2b3e63a315e (patch) | |
tree | 7d8f59c4b37408eab610d04b77071066d8522c4b | |
parent | 861d226aaf0773f9bb1f6357eda6bd19b5eb6b71 (diff) | |
download | archlinuxewe-ded0e59773b2223b55ab2df39835e2b3e63a315e.tar.xz |
update-all: adapt dependencies for artix
-rwxr-xr-x | update-all/PKGBUILD | 10 |
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=( |