diff --git a/scripts/chroot.sh b/scripts/chroot.sh
index bab635b89b8b996ac4104be46e087c1a27b27523..81623edd9da01ed5833cfabc7824985072f284c8 100755
--- a/scripts/chroot.sh
+++ b/scripts/chroot.sh
@@ -377,12 +377,11 @@ esac
 #https://wiki.debian.org/LTS/Using
 case "${deb_codename}" in
 jessie|stretch)
-	echo "" >> ${wfile}
 	echo "deb http://deb.debian.org/debian-security ${deb_codename}/updates ${deb_components}" >> ${wfile}
 	echo "#deb-src http://deb.debian.org/debian-security ${deb_codename}/updates ${deb_components}" >> ${wfile}
+	echo "" >> ${wfile}
 	;;
 buster|sid)
-	echo "" >> ${wfile}
 	echo "#deb http://deb.debian.org/debian-security ${deb_codename}/updates ${deb_components}" >> ${wfile}
 	echo "##deb-src http://deb.debian.org/debian-security ${deb_codename}/updates ${deb_components}" >> ${wfile}
 	echo "" >> ${wfile}