grezzo/featlib/curl.sh

18 lines
404 B
Bash

#! /bin/bash --
[ ! -z "${GREZZO_1604316819}" ] && return; GREZZO_1604316819=0
function feat_addpacks_curl() {
if ! feat_missing "apt-get"; then
sudo apt-get install -y curl
elif ! feat_missing "pacman"; then
sudo pacman -S --needed curl
elif ! feat_missing "apk"; then
sudo apk add --no-cache curl
fi
}
function feat_add_curl() {
feat_addpacks_curl
}