Explorar el Código

Merge pull request #6897 from tianon/moar-squeeze-lts

Update contrib/mkimage/debootstrap to add "sqeeze-lts" to "oldstable" as well
Tianon Gravi hace 11 años
padre
commit
f014236791
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      contrib/mkimage/debootstrap

+ 2 - 2
contrib/mkimage/debootstrap

@@ -123,9 +123,9 @@ if [ -z "$DONT_TOUCH_SOURCES_LIST" ]; then
 					" "$rootfsDir/etc/apt/sources.list"
 					" "$rootfsDir/etc/apt/sources.list"
 					echo "deb http://security.debian.org $suite/updates main" >> "$rootfsDir/etc/apt/sources.list"
 					echo "deb http://security.debian.org $suite/updates main" >> "$rootfsDir/etc/apt/sources.list"
 					# LTS
 					# LTS
-					if [ "$suite" = 'squeeze' ]; then
+					if [ "$suite" = 'squeeze' -o "$suite" = 'oldstable' ]; then
 						head -1 "$rootfsDir/etc/apt/sources.list" \
 						head -1 "$rootfsDir/etc/apt/sources.list" \
-							| sed "s/ $suite / ${suite}-lts /" \
+							| sed "s/ $suite / squeeze-lts /" \
 								>> "$rootfsDir/etc/apt/sources.list"
 								>> "$rootfsDir/etc/apt/sources.list"
 					fi
 					fi
 				)
 				)