curl e rustup

This commit is contained in:
2020-11-02 13:48:53 +01:00
parent fd7f544fa8
commit de29dcc6c1
4 changed files with 33 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
#! /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
}