projects
/
webi-installers
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add myip
[webi-installers/.git]
/
myip
/
install.sh
diff --git a/myip/install.sh
b/myip/install.sh
new file mode 100644
(file)
index 0000000..
2965145
--- /dev/null
+++ b/
myip/install.sh
@@ -0,0
+1,12
@@
+#!/bin/bash
+
+{
+ set -e
+ set -u
+
+ rm -f "$HOME/.local/bin/myip"
+ webi_download "$WEBI_HOST/packages/myip/myip.sh" "$HOME/.local/bin/myip"
+ chmod a+x "$HOME/.local/bin/myip"
+
+ "$HOME/.local/bin/myip"
+}