-
-# no records at all about Translation files (fallback to guessing)
-find aptarchive -name 'Release' -or -name 'InRelease' | xargs rm -f
-configallowinsecurerepositories "true";
+# No Release file at all, so no records about Translation files
+# (fallback to guessing)
+find aptarchive \( -name 'Release' -o -name 'InRelease' \) -delete
+echo 'Acquire::AllowInsecureRepositories "true";' > rootdir/etc/apt/apt.conf.d/allow-insecure-repositories.conf