chore(style): wrap info-only installers in function

This commit is contained in:
AJ ONeal
2021-12-05 05:01:40 +00:00
parent 8302c9e1ca
commit 2f91ffb23d
5 changed files with 36 additions and 16 deletions
+9 -5
View File
@@ -6,8 +6,12 @@
# description: |
# See https://webinstall.dev/nerdfont
echo "The full Nerd Fonts patcher is not yet available."
echo "Want the Droid Sans 'nerdfont' in the meantime?"
echo ""
echo "Run 'webi nerdfont' instead."
echo ""
function __todo_nerdfonts() {
echo "The full Nerd Fonts patcher is not yet available."
echo "Want the Droid Sans 'nerdfont' in the meantime?"
echo ""
echo "Run 'webi nerdfont' instead."
echo ""
}
__todo_nerdfonts
+9 -5
View File
@@ -6,8 +6,12 @@
# description: |
# See https://webinstall.dev/nerdfont
echo "The full Nerd Fonts patcher is not yet available."
echo "Want the Droid Sans 'nerdfont' in the meantime?"
echo ""
echo "Run 'webi nerdfont' instead."
echo ""
function __todo_nerdfonts() {
echo "The full Nerd Fonts patcher is not yet available."
echo "Want the Droid Sans 'nerdfont' in the meantime?"
echo ""
echo "Run 'webi nerdfont' instead."
echo ""
}
__todo_nerdfonts
+6 -2
View File
@@ -1,4 +1,8 @@
#!/bin/bash
echo "WSL (Windows Subsystem for Linux) can only be installed from Windows 10"
exit 0
function __pass() {
echo "WSL (Windows Subsystem for Linux) can only be installed from Windows 10"
exit 0
}
__pass
+6 -2
View File
@@ -1,4 +1,8 @@
#!/bin/bash
echo "WSL 1 (Windows Subsystem for Linux) can only be installed from Windows 10"
exit 0
function __pass() {
echo "WSL 1 (Windows Subsystem for Linux) can only be installed from Windows 10"
exit 0
}
__pass
+6 -2
View File
@@ -1,4 +1,8 @@
#!/bin/bash
echo "WSL 2 (Windows Subsystem for Linux with Hyper-V) can only be installed from Windows 10"
exit 0
function __pass() {
echo "WSL 2 (Windows Subsystem for Linux with Hyper-V) can only be installed from Windows 10"
exit 0
}
__pass