Skip to content

Commit

Permalink
pass -noDigest parameter to auoms bundle installer
Browse files Browse the repository at this point in the history
  • Loading branch information
NarineM committed Oct 7, 2022
1 parent a75b24b commit 0188559
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/Makefile
Expand Up @@ -23,7 +23,7 @@ $(error "ENABLE_DEBUG is not set. Please re-run configure")
endif

DSC_TARGET_DIR := $(DSC_DIR)/release
AUOMS_KITS_RELEASE_DIR := $(AUOMS_KITS_DIR)/release/2.5.2-52
AUOMS_KITS_RELEASE_DIR := $(AUOMS_KITS_DIR)/release/2.5.2-52-ND
AUOMS_KITS_RELEASE_1_3_DIR := $(AUOMS_KITS_DIR)/release/1.3.0-3

RUBY_DIR := $(BASE_DIR)/source/ext/ruby
Expand Down
12 changes: 10 additions & 2 deletions installer/bundle/bundle_skel.sh
Expand Up @@ -1481,7 +1481,11 @@ you should first purge the existing installation and then install using the --sk

./$i
if [ $? -eq 0 ]; then
./${BUNDLES_PATH}/${BUNDLE}-*universal.*.sh --install $FORCE $restartDependencies
if [ -n "${noDigest}" -a "${noDigest}" == "true" ]; then
./${BUNDLES_PATH}/${BUNDLE}-*universal.*.sh --install --noDigest $FORCE $restartDependencies
else
./${BUNDLES_PATH}/${BUNDLE}-*universal.*.sh --install $FORCE $restartDependencies
fi
TEMP_STATUS=$?
if [ $TEMP_STATUS -ne 0 ]; then
echo "$BUNDLE package failed to install and exited with error code $TEMP_STATUS"
Expand Down Expand Up @@ -1661,7 +1665,11 @@ you should first purge the existing installation and then install using the --sk

./$i
if [ $? -eq 0 ]; then
./${BUNDLES_PATH}/${BUNDLE}-*universal.*.sh --upgrade $FORCE $restartDependencies
if [ -n "${noDigest}" -a "${noDigest}" == "true" ]; then
./${BUNDLES_PATH}/${BUNDLE}-*universal.*.sh --upgrade --noDigest $FORCE $restartDependencies
else
./${BUNDLES_PATH}/${BUNDLE}-*universal.*.sh --upgrade $FORCE $restartDependencies
fi
TEMP_STATUS=$?
if [ $TEMP_STATUS -ne 0 ]; then
echo "$BUNDLE package failed to upgrade and exited with error code $TEMP_STATUS"
Expand Down

0 comments on commit 0188559

Please sign in to comment.