Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

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 Dec 1, 2022
1 parent 1d57a6a commit e6f6695
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/Makefile
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 e6f6695

Please sign in to comment.