mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-08-19 03:56:16 +00:00
chore(style): wrap info-only installers in function
This commit is contained in:
@@ -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,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
@@ -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
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user