Skip to content

Commit

Permalink
Modified install to use latest release instead of master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
CrashSensei committed Feb 16, 2018
1 parent 861593d commit afe1b47
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion oracle/package/oracle.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LSOFT_ORACLE_DEFAULT_DB_ORACLE=orcl

LSOFT_ORACLE_USER_GRID=grid
LSOFT_ORACLE_GROUP_GRID=oinstall
LSOFT_ORACLE_DEFAULT_DB_GRID=asm
LSOFT_ORACLE_DEFAULT_DB_GRID=+ASM

LSOFT_ORACLE_USER_EM=oracle
LSOFT_ORACLE_GROUP_EM=oinstall
Expand Down
8 changes: 7 additions & 1 deletion package/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ inst_dispErr () {
}

#Check for req apps
if ! hash curl 2>/dev/null; then
inst_dispErr The curl app is required.
exit 1
fi

if ! hash wget 2>/dev/null; then
inst_dispErr The wget app is required.
exit 1
Expand Down Expand Up @@ -57,7 +62,8 @@ if [ ! -d ${LSOFT_TMP_DIR} ]; then
exit 2
fi

wget https://api.github.com/repos/LinearSoft/linux-toolbag/tarball/master -O ${LSOFT_DEPLOY_TAR} >/dev/null
curl -s https://api.github.com/repos/LinearSoft/linux-toolbag/releases/latest | grep tarball_url | cut -d '"' -f 4 \
| wget -q -O ${LSOFT_DEPLOY_TAR} -i - >/dev/null
if [ $? -ne 0 ]; then
inst_dispErr Unable to download distribution file
exit 2
Expand Down

0 comments on commit afe1b47

Please sign in to comment.