-
-
Save Gottox/3a82772ea035e14d3989 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/common/environment/setup/install.sh b/common/environment/setup/install.sh | |
index 86394ea..081f051 100644 | |
--- a/common/environment/setup/install.sh | |
+++ b/common/environment/setup/install.sh | |
@@ -13,10 +13,22 @@ _noglob_helper() { | |
} | |
# Apply _noglob to v* commands | |
-for cmd in vinstall vcopy vmove vmkdir vbin vman vdoc vconf vsconf vlicense; do | |
+for cmd in vinstall vcopy vmove vmkdir vbin vman vdoc vconf vsconf vlicense vsv; do | |
alias ${cmd}="set -f; _noglob_helper _${cmd}" | |
done | |
+_vsv() { | |
+ local file="$1" | |
+ | |
+ if [ $# -lt 1 ]; then | |
+ msg_red "$pkgver: vbin: 1 argument expected: <file>\n" | |
+ return 1 | |
+ fi | |
+ | |
+ vmkdir etc/sv | |
+ vcopy "$file" etc/sv | |
+} | |
+ | |
_vbin() { | |
local file="$1" targetfile="$2" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment