mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-05-03 15:26:33 +00:00
chore(style): convert blocks into functions (see #325)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
{
|
||||
function __init_vps_utils() {
|
||||
set -e
|
||||
set -u
|
||||
|
||||
@@ -13,3 +13,5 @@
|
||||
chmod a+x "$HOME/.local/bin/myip"
|
||||
chmod a+x "$HOME/.local/bin/vps-"*
|
||||
}
|
||||
|
||||
__init_vps_utils
|
||||
|
||||
Reference in New Issue
Block a user