From aa6e6fb260564d36d36b7cd5af4bc1677bd058b4 Mon Sep 17 00:00:00 2001 From: wind2008hxy Date: Mon, 21 Sep 2020 16:11:06 +0800 Subject: [PATCH] add support for archlinux package managers --- install-release.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install-release.sh b/install-release.sh index d0d92a5..890291d 100644 --- a/install-release.sh +++ b/install-release.sh @@ -106,6 +106,9 @@ identify_the_operating_system_and_architecture() { elif [[ "$(command -v zypper)" ]]; then PACKAGE_MANAGEMENT_INSTALL='zypper install' PACKAGE_MANAGEMENT_REMOVE='zypper remove' + elif [[ "$(command -v pacman)" ]]; then + PACKAGE_MANAGEMENT_INSTALL='pacman -S' + PACKAGE_MANAGEMENT_REMOVE='pacman -R' else echo "error: The script does not support the package manager in this operating system." exit 1