diff options
author | Andreas Loibl <andreas@andreas-loibl.de> | 2012-02-27 20:41:26 +0100 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2012-02-27 20:41:26 +0100 |
commit | 206f98aeb3af5fdbdba2460de2f1ec2b3c83bf9d (patch) | |
tree | f14bc9ba4c9c7f09bc515a1616017bf1c31fc303 /backend/modules | |
parent | 00a3095cd0c3175b3043a2de34f3819f32daa079 (diff) | |
download | acritoxinstaller-206f98aeb3af5fdbdba2460de2f1ec2b3c83bf9d.zip acritoxinstaller-206f98aeb3af5fdbdba2460de2f1ec2b3c83bf9d.tar.gz |
remove live-repo from sources.list
Diffstat (limited to 'backend/modules')
-rw-r--r-- | backend/modules/install_configure | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backend/modules/install_configure b/backend/modules/install_configure index 68f60be..e66925d 100644 --- a/backend/modules/install_configure +++ b/backend/modules/install_configure @@ -98,6 +98,9 @@ EOF [ -f /etc/sysconfig/keyboard ] && . /etc/sysconfig/keyboard [ -n "$KEYTABLE" ] && chroot_it install-keymap "$KEYTABLE" 2>/dev/null + + # remove live-repo from sources.list + sed -i -e '/^# Live Media$/{N;\|\ndeb file:/live/image/debian |{N;/\n$/d}}' $TARGET/etc/apt/sources.list } # Synopsis: configure_target_purge_live_only_stuff |