mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-06-13 08:51:28 +00:00
We no longer need to run sed
This commit is contained in:
parent
8430d445d8
commit
53fcd577e8
@ -891,9 +891,7 @@ cat "$TEMP_SOURCES" | sed -e "s|RELEASE|$RELEASE|g" | \
|
|||||||
sudo bash -c "cat > $MNT/etc/apt/sources.list"
|
sudo bash -c "cat > $MNT/etc/apt/sources.list"
|
||||||
rm -f "$TEMP_SOURCES"
|
rm -f "$TEMP_SOURCES"
|
||||||
if [ -n "$TEMP_PREFERENCES" ]; then
|
if [ -n "$TEMP_PREFERENCES" ]; then
|
||||||
sed -e "s|RELEASE|$RELEASE|g" < "$TEMP_PREFERENCES" | \
|
sudo mv "TEMP_PREFERENCES" $MNT/etc/apt/preferences.d/proposed.pref
|
||||||
sudo bash -c "cat > $MNT/etc/apt/preferences.d/proposed.pref"
|
|
||||||
rm -f "$TEMP_PREFERENCES"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Copy the timezone (comment this out if you want to leave the chroot at UTC)
|
# Copy the timezone (comment this out if you want to leave the chroot at UTC)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user