Skip to content

Commit aaa133a

Browse files
author
Hunter T
authored
Update example-2.md
1 parent d245f97 commit aaa133a

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

Examples/2.md renamed to Examples/example-2.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1+
The code below is from an installer project that can be refered to at this link: https://github.com/StrangeRanger/NadekoBot-BashScript/blob/master/linuxAIO.sh
2+
3+
The code is similar to the code in example-1.md, but from a different project, and older.
4+
5+
## Example
6+
17
``` bash
28
#!/bin/bash
39

410
################################################################################
511
#
6-
# THIS SCRIPT IS FROM THE BOTLER PROJECT THAT CAN BE FOUND HERE:
7-
# https://github.com/Botler-Dev/Installer/blob/master/linux-master-installer.sh
8-
#
912
# linuxPMI acts as the intermediary between the server Botler is being hosted
1013
# on and the linux master installer. To prevent any conflict with updates to
1114
# the installer, this script has as little code as deemed necessary. In
@@ -25,7 +28,7 @@
2528
fi
2629

2730
echo "Downloading 'installer-prep.sh'..."
28-
wget -N https://raw.githubusercontent.com/Botler-Dev/Installer/$installer_branch/installer-prep.sh || {
31+
wget -N https://raw.githubusercontent.com/Botler-Dev/Installer/"$installer_branch"/installer-prep.sh || {
2932
echo "Failed to download 'installer-prep.sh'..." >&2
3033
echo -e "\nExiting..."
3134
exit 1

0 commit comments

Comments
 (0)