From c8eb17209e6df68b82bc8a7a576bd23903a3aa95 Mon Sep 17 00:00:00 2001 From: HacKan Date: Tue, 23 Jan 2018 22:30:01 -0300 Subject: [PATCH] [RM-7505] bootstrap: support archlinux --- bootstrap | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/bootstrap b/bootstrap index deb83df..c41c274 100755 --- a/bootstrap +++ b/bootstrap @@ -26,6 +26,20 @@ if ! [ -d virtualenv ]; then exit 1 fi ;; + + Arch) + for package in "$python_package" python-virtualenv; do + if ! pacman -Qs -- "$package" >/dev/null 2>&1; then + # add a space after old values + missing="${missing:+$missing }$package" + fi + done + if [ -n "$missing" ]; then + echo "$0: missing required packages, please install them:" 1>&2 + echo " pacman -Sy $missing" + exit 1 + fi + ;; esac case "$(lsb_release --id --short | awk '{print $1}')" in @@ -42,6 +56,7 @@ if ! [ -d virtualenv ]; then fi ;; esac + fi if [ -f /etc/redhat-release ]; then -- 2.47.3