Skip to content

Commit

Permalink
fixed indentation and filedirectory
Browse files Browse the repository at this point in the history
why did you try using "\" instead of "/" in your mkdir?

indentation fixed.
  • Loading branch information
dmitrii-galantsev authored Oct 22, 2016
1 parent a1f1cd5 commit dc6dc8d
Showing 1 changed file with 27 additions and 22 deletions.
49 changes: 27 additions & 22 deletions NadekoInstaller.sh
Original file line number Diff line number Diff line change
@@ -1,24 +1,29 @@
#!/bin/bash
echo "NadekoBot 1.0 Download"
echo "Mirai was here."
if git 2>&1 >/dev/null;
then echo "Git Installed."
else echo "Git is not installed. Please install Git." | exit 1
if dotnet 2>&1 >/dev/null;
then echo "Dotnet installed."
else echo "Dotnet is not installed. Please install dotnet." | exit 1
mkdir NadekoInstall_Temp
echo "Created NadekoBot-temp folder"
cd NadekoInstall_Temp
echo "Downloading NadekoBot, please wait."
git clone -b 1.0 --recursive -v https://github.com/Kwoth/NadekoBot.git
echo "NadekoBot downloaded."
cd NadekoInstall_Temp\NadekoBot\
dotnet restore >nul 2>&1
cd NadekoInstall_Temp\NadekoBot\src\NadekoBot\
echo "Building NadekoBot"
dotnet build --configuration Release
echo "Setting up NadekoBot"
dotnet build --configuration Release
echo "Done. You can close the window."

echo "NadekoBot 1.0 Download"
echo "Mirai was here."

if git 2>&1 >/dev/null
then echo "Git Installed."
else echo "Git is not installed. Please install Git." | exit 1

if dotnet 2>&1 >/dev/null
then echo "Dotnet installed."
else echo "Dotnet is not installed. Please install dotnet." | exit 1

mkdir NadekoInstall_Temp
echo "Created NadekoBot-temp folder"
cd NadekoInstall_Temp
echo "Downloading NadekoBot, please wait."
git clone -b 1.0 --recursive -v https://github.com/Kwoth/NadekoBot.git
echo "NadekoBot downloaded."
cd NadekoInstall_Temp/NadekoBot/
dotnet restore >nul 2>&1
cd NadekoInstall_Temp/NadekoBot/src/NadekoBot/
echo "Building NadekoBot"
dotnet build --configuration Release
echo "Setting up NadekoBot"
dotnet build --configuration Release
echo "Done. You can close the window."

exit 0

0 comments on commit dc6dc8d

Please sign in to comment.