Update nadeko_installer_1_4.sh
This commit is contained in:
parent
8f80b7e471
commit
6d30473fa1
@ -46,6 +46,21 @@ dotnet build --configuration Release
|
|||||||
echo ""
|
echo ""
|
||||||
echo "Building done."
|
echo "Building done."
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
echo "Linking Nadeko DB"
|
||||||
|
|
||||||
|
mkdir /root/nadeko
|
||||||
|
mv -n /opt/NadekoBot/src/NadekoBot/bin/Release/netcoreapp1.1/data/NadekoBot.db /root/nadeko/NadekoBot.db
|
||||||
|
rm /opt/NadekoBot/src/NadekoBot/bin/Release/netcoreapp1.1/data/NadekoBot.db
|
||||||
|
ln -s ln -s /root/nadeko/NadekoBot.db /opt/NadekoBot/src/NadekoBot/bin/Release/netcoreapp1.1/data/NadekoBot.db
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
echo "Linking Nadeko Credentials"
|
||||||
|
|
||||||
|
mv -n /opt/NadekoBot/src/NadekoBot/credentials.json /root/nadeko/credentials.json
|
||||||
|
rm /opt/NadekoBot/src/NadekoBot/credentials.json
|
||||||
|
ln -s ln -s /root/nadeko/NadekoBot.db /opt/NadekoBot/src/NadekoBot/credentials.json
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "Installation Complete."
|
echo "Installation Complete."
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user