Fixed bug ReleaseUpgrade not Updating 3-party repo's on Debian
This commit is contained in:
@@ -172,7 +172,7 @@ UpgradeRelease () {
|
|||||||
$INSTCALL -- sh -c "DEBIAN_FRONTEND=noninteractive apt full-upgrade -y -o Dpkg::Options::="--force-confold""
|
$INSTCALL -- sh -c "DEBIAN_FRONTEND=noninteractive apt full-upgrade -y -o Dpkg::Options::="--force-confold""
|
||||||
# Update repo file(s)
|
# Update repo file(s)
|
||||||
$INSTCALL -- sed -i "s/$RELNAME/$NewDebianVersion/g" /etc/apt/sources.list
|
$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
|
# Run upgrade to new release
|
||||||
$INSTCALL -- apt clean
|
$INSTCALL -- apt clean
|
||||||
$INSTCALL -- apt update
|
$INSTCALL -- apt update
|
||||||
|
|||||||
Reference in New Issue
Block a user