mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-02-14 17:49:53 +00:00
chore(style): convert blocks into functions (see #325)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
{
|
||||
function __init_myip() {
|
||||
set -e
|
||||
set -u
|
||||
|
||||
@@ -10,3 +10,5 @@
|
||||
|
||||
"$HOME/.local/bin/myip"
|
||||
}
|
||||
|
||||
__init_myip
|
||||
|
||||
Reference in New Issue
Block a user