summaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2021-12-29 15:09:20 +0100
committerHolger Paradies <retabell@gmx.de>2021-12-29 15:09:20 +0100
commit14bb059bd8366550c20ca20b283bcef7797bcb9e (patch)
tree9b9d9fd5ebce2510baa08a2d1205b606b31adfb4 /backend
parentcec6a1f33dd1f3c1358ff9a33b6bf795aa43bf9f (diff)
downloadacritoxinstaller-14bb059bd8366550c20ca20b283bcef7797bcb9e.zip
acritoxinstaller-14bb059bd8366550c20ca20b283bcef7797bcb9e.tar.gz
Debpool enhance cleanup
Diffstat (limited to 'backend')
-rw-r--r--backend/modules/install_configure4
1 files changed, 3 insertions, 1 deletions
diff --git a/backend/modules/install_configure b/backend/modules/install_configure
index ad5a543..be1eb0d 100644
--- a/backend/modules/install_configure
+++ b/backend/modules/install_configure
@@ -99,8 +99,10 @@ EOF
[ -n "$KEYTABLE" ] && chroot_it install-keymap "$KEYTABLE" 2>/dev/null
- # remove live-repo from sources.list
+ # 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
}
# Synopsis: configure_target_purge_live_only_stuff