projects
/
webi-installers
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add goreleaser
[webi-installers/.git]
/
sudo
/
install.sh
1
set -e
2
set -u
3
4
{
5
6
if [ -z "$(command -v sudo)" ]; then
7
>&2 echo "Error: on Linux and BSD you should install sudo via the native package manager"
8
>&2 echo " for example: apt install -y sudo"
9
exit 1
10
else
11
echo "'sudo' already installed"
12
fi
13
14
}