Add to new source format and the mandatory signed-by (#239390)

fixes #238697
This commit is contained in:
bhack
2025-05-07 03:33:19 +04:00
committed by GitHub
parent 6d49a47a77
commit 76c064bd87
2 changed files with 26 additions and 7 deletions

View File

@@ -22,11 +22,10 @@ if [ -e '/usr/share/debconf/confmodule' ]; then
fi
if [ "$RET" = "true" ]; then
eval $(apt-config shell APT_SOURCE_PARTS Dir::Etc::sourceparts/d)
CODE_SOURCE_PART=${APT_SOURCE_PARTS}vscode.list
CODE_SOURCE_PART=${APT_SOURCE_PARTS}vscode.sources
rm -f $CODE_SOURCE_PART
eval $(apt-config shell APT_TRUSTED_PARTS Dir::Etc::trustedparts/d)
CODE_TRUSTED_PART=${APT_TRUSTED_PARTS}microsoft.gpg
CODE_TRUSTED_PART=/usr/share/keyrings/microsoft.gpg
rm -f $CODE_TRUSTED_PART
fi