pull/42/head
shaun feakes 2018-09-21 11:00:54 -05:00
parent 84eb77fb61
commit 163deb86f5
1 changed files with 10 additions and 1 deletions

View File

@ -16,6 +16,12 @@ function print_usage {
echoerr ""
}
function upgrade_self {
if [ -f "$AQUA/extras/aqua.sh" ]; then
cp "$AQUA/extras/aqua.sh" $0
fi
}
function git_install {
sudo apt-get install git
}
@ -49,7 +55,7 @@ function upgrade {
function clean {
cd ~
sudo "$AQUA/release/install.sh clean"
sudo "$AQUA/release/install.sh" "clean"
remove
}
@ -83,5 +89,8 @@ else
fi
install
upgrade_self
echo "Installed "`cat $AQUA/version.h | cut -d '"' -f 2 | tr '\n' ' '`
cd $CWD