#!/bin/bash set -e CONDORLIB_GUI="${CONDORLIB_GUI:-true}" if [ -z "$DISPLAY" ]; then CONDORLIB_GUI=false fi # Elevate if [[ $EUID -ne 0 ]] && [ "$CONDORLIB_GUI" == "true" ]; then exec pkexec /usr/lib/condor/install-software "$@" exit 1 fi sudo pacman -S --noconfirm "$@"