agent: Arch support
This commit is contained in:
@@ -7,7 +7,13 @@
|
||||
|
||||
if ! command -v stow &> /dev/null; then
|
||||
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
||||
sudo apt-get install -qq stow
|
||||
if command -v apt-get >/dev/null 2>&1; then
|
||||
sudo apt-get install -qq stow
|
||||
elif command -v pacman >/dev/null 2>&1; then
|
||||
sudo pacman -S --noconfirm stow
|
||||
else
|
||||
log_warn "Skipping stow install: no supported package manager found"
|
||||
fi
|
||||
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
brew install stow
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user