Re-indent the scripts a bit to match expectations

Notably this may cause issues diffing adtpro.sh.txt against the
upstreadm adtpro.sh script.  Ours had mixed coding styles, and I figured
having to diff with whitespace ignored was a better solution than
dealing with mixed styles either in the file or in the tree for the
majority of people who aren't likely using the same editor I am.
This commit is contained in:
T. Joseph Carter 2015-10-30 05:52:22 -07:00
parent cf4bc9ea92
commit c2deff81ae
6 changed files with 27 additions and 24 deletions

View File

@ -30,7 +30,10 @@ echo $nickname > ~/.irssi/a2c.nickname
if [[ -f ~/.irssi/startup ]]; then if [[ -f ~/.irssi/startup ]]; then
mv ~/.irssi/startup ~/.irssi/startup.orig mv ~/.irssi/startup ~/.irssi/startup.orig
fi fi
echo -e "/network add -autosendcmd '/join #a2c.chat' Palomino.A2\n/server add -auto -network Palomino.A2 irc.a2central.com\n" > ~/.irssi/startup # SOME broken versions of bash have an intentionally broken
# echo -e for no justifiable reason. Yes I mean YOU, Apple!
echo "/network add -autosendcmd '/join #a2c.chat' Palomino.A2
/server add -auto -network Palomino.A2 irc.a2central.com\n" > ~/.irssi/startup
if [[ -f ~/.irssi/config ]]; then if [[ -f ~/.irssi/config ]]; then
cp ~/.irssi/config ~/.irssi/config.orig cp ~/.irssi/config ~/.irssi/config.orig

View File

@ -881,4 +881,3 @@ else:
processDir(2) processDir(2)
if not g.DIR: if not g.DIR:
syncExit() syncExit()

View File

@ -52,6 +52,7 @@ else
if [[ $REPLY == "ok" || $REPLY == "ok" || $REPLY == "Ok" ]]; then if [[ $REPLY == "ok" || $REPLY == "ok" || $REPLY == "Ok" ]]; then
sudo touch /usr/local/etc/gsportconsolewarningoff sudo touch /usr/local/etc/gsportconsolewarningoff
fi fi
# FIXME: Should this block just be deleted at this point?
# echo "If you wish to run GSport in the console window, the mouse will not work" # echo "If you wish to run GSport in the console window, the mouse will not work"
# echo "unless you uninstall VirtualBox Guest Additions. If you don't want to do" # echo "unless you uninstall VirtualBox Guest Additions. If you don't want to do"
# echo "this, you can instead run GSport in an X window (e.g. by typing 'startx')." # echo "this, you can instead run GSport in an X window (e.g. by typing 'startx')."