summaryrefslogtreecommitdiff
path: root/backend/modules/install_configure
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2022-01-06 19:59:03 +0100
committerHolger Paradies <retabell@gmx.de>2022-01-06 19:59:03 +0100
commit6080e2cd070490001963dc15df1ccc58b05ed567 (patch)
treee0ab575335c1c03787f06de61abac7806249a986 /backend/modules/install_configure
parent14bb059bd8366550c20ca20b283bcef7797bcb9e (diff)
downloadacritoxinstaller-6080e2cd070490001963dc15df1ccc58b05ed567.zip
acritoxinstaller-6080e2cd070490001963dc15df1ccc58b05ed567.tar.gz
Debpool one more cleanup
Diffstat (limited to 'backend/modules/install_configure')
-rw-r--r--backend/modules/install_configure3
1 files changed, 2 insertions, 1 deletions
diff --git a/backend/modules/install_configure b/backend/modules/install_configure
index be1eb0d..b0353f1 100644
--- a/backend/modules/install_configure
+++ b/backend/modules/install_configure
@@ -102,7 +102,8 @@ EOF
# remove live-repo from sources.list and delete key
sed -i -e '/^# Live Media$/{N;\|\ndeb file:/live/image/debian |{N;/\n$/d}}' $TARGET/etc/apt/sources.list
sed -i -e '/^# Live Media$/{N;\|\ndeb file:/run/live/medium/debian |{N;/\n$/d}}' $TARGET/etc/apt/sources.list
- rm -f $TARGET/etc/apt/trusted.gpg.d/live-media.asc
+ sed -i -e '/^# Live Media$/{N;\|\ndeb \[signed-by=\/usr\/share\/keyrings\/live-media.gpg\] file:/run/live/medium/debian |{N;/\n$/d}}' $TARGET/etc/apt/sources.list
+ rm -f $TARGET/etc/apt/trusted.gpg.d/live-media.asc $TARGET/usr/share/keyrings/live-media.gpg
}
# Synopsis: configure_target_purge_live_only_stuff