Skip to content

Commit

Permalink
Merge pull request #13 from homebysix/no-scan
Browse files Browse the repository at this point in the history
--no-scan
  • Loading branch information
homebysix authored Apr 11, 2019
2 parents a92811a + 643d1de commit 63e1d45
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build-info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
<key>suppress_bundle_relocation</key>
<true/>
<key>version</key>
<string>2.1.2</string>
<string>2.1.3</string>
</dict>
</plist>
8 changes: 4 additions & 4 deletions payload/Library/Scripts/install_or_defer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
# restarts automatically.
# Authors: Elliot Jordan and Mario Panighetti
# Created: 2017-03-09
# Last Modified: 2019-04-10
# Version: 2.1.2
# Last Modified: 2019-04-11
# Version: 2.1.3
#
###

Expand Down Expand Up @@ -133,7 +133,7 @@ check_for_updates () {
# Download updates (all updates if a restart is required for any, otherwise
# just recommended updates).
echo "Caching $installWhich system updates..."
softwareupdate --download --$installWhich
softwareupdate --download --$installWhich --no-scan

}

Expand Down Expand Up @@ -186,7 +186,7 @@ run_updates () {

echo "Running $installWhich system updates..."
"$jamfHelper" -windowType "hud" -windowPosition "ur" -icon "$LOGO" -title "$MSG_UPDATING_HEADING" -description "$MSG_UPDATING" -lockHUD &
updateOutputCapture="$(softwareupdate --install --$installWhich 2>&1)"
updateOutputCapture="$(softwareupdate --install --$installWhich --no-scan 2>&1)"
echo "Finished running updates."
killall jamfHelper 2>/dev/null
clean_up
Expand Down

0 comments on commit 63e1d45

Please sign in to comment.