Updates to script and version bump
This commit is contained in:
parent
71d442898a
commit
e56ba91b5b
BIN
dist/ansis/bulletin1.ans
vendored
BIN
dist/ansis/bulletin1.ans
vendored
Binary file not shown.
32
setup.sh
32
setup.sh
@ -61,15 +61,23 @@ printstuff "Please enter the name of your BBS:"
|
|||||||
|
|
||||||
read -e bbsname
|
read -e bbsname
|
||||||
|
|
||||||
sed -i "s@/home/andrew/MagickaBBS@${PWD}@g" config/bbs.ini
|
PLATFORM=`uname`
|
||||||
sed -i "s/BBS Name = Magicka BBS/BBS Name = ${bbsname}/g" config/bbs.ini
|
|
||||||
sed -i "s/Sysop Name = sysop/Sysop Name = ${handle}/g" config/bbs.ini
|
if [[ "$PLATFORM" == 'FreeBSD' ]] || [[ "$PLATFORM" == 'Darwin' ]]; then
|
||||||
sed -i "s@/home/andrew/MagickaBBS@${PWD}@g" config/localmail.ini
|
SED = gsed
|
||||||
sed -i "s@/home/andrew/MagickaBBS@${PWD}@g" config/filesgen.ini
|
else
|
||||||
sed -i "s@/home/andrew/MagickaBBS@${PWD}@g" config/illusionnet.ini
|
SED = sed
|
||||||
sed -i "s@/home/andrew/MagickaBBS@${PWD}@g" utils/magiedit/magiedit.sh
|
fi
|
||||||
sed -i "s@/home/andrew/MagickaBBS@${PWD}@g" scripts/login_stanza.lua
|
|
||||||
sed -i "s/MagiChat Server = localhost/; MagiChat Server = localhost/g" config/bbs.ini
|
$SED -i "s@/home/andrew/MagickaBBS@${PWD}@g" config/bbs.ini
|
||||||
sed -i "s/Default Tagline = Brought to you by Another Magicka BBS!/Default Tagline = ${bbsname}/g" config/bbs.ini
|
$SED -i "s/BBS Name = Magicka BBS/BBS Name = ${bbsname}/g" config/bbs.ini
|
||||||
sed -i "s/echomail.out/mail.out/g" config/bbs.ini
|
$SED -i "s/Sysop Name = sysop/Sysop Name = ${handle}/g" config/bbs.ini
|
||||||
sed -i "s/netmail.out/mail.out/g" config/bbs.ini
|
$SED -i "s@/home/andrew/MagickaBBS@${PWD}@g" config/localmail.ini
|
||||||
|
$SED -i "s@/home/andrew/MagickaBBS@${PWD}@g" config/filesgen.ini
|
||||||
|
$SED -i "s@/home/andrew/MagickaBBS@${PWD}@g" config/illusionnet.ini
|
||||||
|
$SED -i "s@/home/andrew/MagickaBBS@${PWD}@g" utils/magiedit/magiedit.sh
|
||||||
|
$SED -i "s@/home/andrew/MagickaBBS@${PWD}@g" scripts/login_stanza.lua
|
||||||
|
$SED -i "s/MagiChat Server = localhost/; MagiChat Server = localhost/g" config/bbs.ini
|
||||||
|
$SED -i "s/Default Tagline = Brought to you by Another Magicka BBS!/Default Tagline = ${bbsname}/g" config/bbs.ini
|
||||||
|
$SED -i "s/echomail.out/mail.out/g" config/bbs.ini
|
||||||
|
$SED -i "s/netmail.out/mail.out/g" config/bbs.ini
|
||||||
|
Reference in New Issue
Block a user