Fixed bug ReleaseUpgrade not Updating 3-party repo's on Debian

This commit is contained in:
2023-11-22 00:24:07 +01:00
parent d15b5b0471
commit 1dc94431ac

View File

@@ -172,7 +172,7 @@ UpgradeRelease () {
$INSTCALL -- sh -c "DEBIAN_FRONTEND=noninteractive apt full-upgrade -y -o Dpkg::Options::="--force-confold""
# Update repo file(s)
$INSTCALL -- sed -i "s/$RELNAME/$NewDebianVersion/g" /etc/apt/sources.list
$INSTCALL -- sh -c "sed -i "s/$RELNAME/$NewDebianVersion/g" /etc/apt/sources.list.d/\*"
$INSTCALL -- sh -c "sed -i "s/$RELNAME/$NewDebianVersion/g" /etc/apt/sources.list.d/*"
# Run upgrade to new release
$INSTCALL -- apt clean
$INSTCALL -- apt update