Skip to content

Commit

Permalink
dev_setup: Give packages in separate args to pacman (#3094)
Browse files Browse the repository at this point in the history
This makes sure the packages aren't clumped together into a single
argument when using pacman to install packages for arch linux.
  • Loading branch information
forslund committed Apr 8, 2022
1 parent 28d512e commit 3d64aa5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions dev_setup.sh
Expand Up @@ -380,14 +380,15 @@ function fedora_install() {


function arch_install() {
pkgs="git python python-pip python-setuptools python-virtualenv python-gobject libffi swig portaudio mpg123 screen flac curl icu libjpeg-turbo base-devel jq"
pkgs=( git python python-pip python-setuptools python-virtualenv python-gobject libffi swig portaudio mpg123 screen flac curl icu libjpeg-turbo base-devel jq )

if ! pacman -Qs pipewire-pulse > /dev/null
then
pkgs="{pkgs} pulseaudio pulseaudio-alsa"
pulse_pkgs=( pulseaudio pulseaudio-alsa )
pkgs=( "${pkgs[@]}" "${pulse_pkgs[@]}" )
fi

$SUDO pacman -S --needed --noconfirm "$pkgs"
$SUDO pacman -S --needed --noconfirm "${pkgs[@]}"

pacman -Qs '^fann$' &> /dev/null || (
git clone https://aur.archlinux.org/fann.git
Expand Down

0 comments on commit 3d64aa5

Please sign in to comment.