Skip to content

Commit 1d23692

Browse files
authored
Merge pull request #3389 from cmitu/apt-get-update
helpers: teach `aptUpdate` to hop releases
2 parents 3d841d1 + 066f02b commit 1d23692

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scriptmodules/helpers.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ function hasPackage() {
175175
## @brief Calls apt-get update (if it has not been called before).
176176
function aptUpdate() {
177177
if [[ "$__apt_update" != "1" ]]; then
178-
apt-get update
178+
apt-get update --allow-releaseinfo-change
179179
__apt_update="1"
180180
fi
181181
}

0 commit comments

Comments
 (0)