Commit 880bdf70 authored by hightime's avatar hightime

confirm

parent 6ce78092
......@@ -6,7 +6,7 @@ hightime=${hightime:-/root/hightime}
oaGame=oaffa
addUser $oaGame
confirm 'install binary?' && (
confirmN 'install binary?' && (
cd $tmp
if [ ! -e "$oaBinary" ] ; then
wget "$oaBinaryUrl"
......@@ -24,9 +24,9 @@ confirm 'install binary?' && (
unzip "$tmp/$oaBinary"
)
confirm 'install oa config?' && (
confirmN 'install oa config?' && (
cd /home/$oaGame
confirm 'purge all local settings and data?' && rm -r $oaConfigDir
confirmN 'purge all local settings and data?' && rm -r $oaConfigDir
mkdir -p $oaBaseoaDir
cp -v \
$hightime/games/$oaGame/$oaGame-server.cfg \
......
......@@ -6,7 +6,7 @@ hightime=${hightime:-/root/hightime}
oaGame=oagib
addUser $oaGame
confirm 'install binary?' && (
confirmN 'install binary?' && (
cd $tmp
if [ ! -e "$oaBinary" ] ; then
wget "$oaBinaryUrl"
......@@ -24,9 +24,9 @@ confirm 'install binary?' && (
unzip "$tmp/$oaBinary"
)
confirm 'install oa config?' && (
confirmN 'install oa config?' && (
cd /home/$oaGame
confirm 'purge all local settings and data?' && rm -r $oaConfigDir
confirmN 'purge all local settings and data?' && rm -r $oaConfigDir
mkdir -p $oaBaseoaDir
cp -v \
$hightime/games/$oaGame/$oaGame-server.cfg \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment