mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-08-19 03:56:16 +00:00
refactor(posix): remove function prefixes from all shell files
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
set -e
|
||||
set -u
|
||||
|
||||
function __install_setcap_netbind() {
|
||||
__install_setcap_netbind() {
|
||||
# remove prior version, if exists
|
||||
rm -f ~/.local/bin/setcap-netbind
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
set -e
|
||||
set -u
|
||||
|
||||
function main() {
|
||||
main() {
|
||||
my_bin="${1}"
|
||||
# ex: node
|
||||
if [ -z "$(command -v "${my_bin}")" ]; then
|
||||
|
||||
Reference in New Issue
Block a user