projects
/
webi-installers
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
docs: add -- global flag
[webi-installers/.git]
/
myip
/
install.sh
1
#!/bin/bash
2
set -e
3
set -u
4
5
function __init_myip() {
6
7
rm -f "$HOME/.local/bin/myip"
8
webi_download "$WEBI_HOST/packages/myip/myip.sh" "$HOME/.local/bin/myip"
9
chmod a+x "$HOME/.local/bin/myip"
10
11
"$HOME/.local/bin/myip"
12
}
13
14
__init_myip