There was an error while loading. Please reload this page.
1 parent e1ca7ff commit ae4eadbCopy full SHA for ae4eadb
1 file changed
scripts/deb-upgrade.sh
@@ -29,18 +29,11 @@ bb_log_info "Current test mode: $test_mode"
29
30
set -x
31
32
-source /etc/os-release
33
-
34
-if [ "${PRETTY_NAME##*/}" == "sid" ]; then
35
- # Sid has the VERSION_CODENAME of the next
36
- # release which isn't useful to us.
37
- VERSION_CODENAME=sid
38
-fi
39
40
# Prepare apt repository configuration for installation of the previous major
41
# version
42
deb_setup_mariadb_mirror "$prev_major_version"
43
+# This function depends on the deb_setup_mariadb_mirror sourcing /etc/os-release
44
get_packages_file_mirror() {
45
set -u
46
if ! wget "$baseurl/$ID/dists/$VERSION_CODENAME/main/binary-$(deb_arch)/Packages"
0 commit comments