Signed-off-by: You-Sheng Yang (楊有勝) <vicamo@gmail.com>
| ... | ... |
@@ -193,7 +193,7 @@ if [ -z "$DONT_TOUCH_SOURCES_LIST" ]; then |
| 193 | 193 |
case "$lsbDist" in |
| 194 | 194 |
debian) |
| 195 | 195 |
# updates and security! |
| 196 |
- if [ "$suite" != 'sid' -a "$suite" != 'unstable' ]; then |
|
| 196 |
+ if curl -o /dev/null -s --head --fail "http://security.debian.org/dists/$suite/updates/main/binary-$(rootfs_chroot dpkg --print-architecture)/Packages.gz"; then |
|
| 197 | 197 |
( |
| 198 | 198 |
set -x |
| 199 | 199 |
sed -i " |