datalad-handbook/tools/appveyor/install-syspkgs
Michael Hanke d74b487847 Adopt appveyor helper from datalad-next
It is more robust to release info changes of APT repos.
2023-08-05 11:57:23 +02:00

14 lines
331 B
Bash
Executable file

#!/bin/bash
set -e
# no install requested -> exit
[ -z "$1" ] && exit 0 || true
if (which apt-get > /dev/null ); then
sudo apt-get update -qq -y --allow-releaseinfo-change
sudo apt-get install -q --no-install-recommends -y eatmydata
sudo eatmydata apt-get install -q --no-install-recommends -y $*
else
brew install -q $*
fi