projects
/
webi-installers
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
chore(style): add shebang, set bash strict mode, create function
[webi-installers/.git]
/
fd
/
install.sh
diff --git
a/fd/install.sh
b/fd/install.sh
index 50af4761cb6edbacc3c79711db8960f6ab4cc49e..85ef0b26e405eb7687658d35cd00ce897a51bd43 100644
(file)
--- a/
fd/install.sh
+++ b/
fd/install.sh
@@
-1,8
+1,8
@@
#!/bin/bash
#!/bin/bash
+set -e
+set -u
-{
- set -e
- set -u
+function __init_fd() {
###############
# Install fd #
###############
# Install fd #
@@
-29,3
+29,5
@@
chmod a+x "$pkg_src_cmd"
}
}
chmod a+x "$pkg_src_cmd"
}
}
+
+__init_fd