#!/bin/sh if grep -q '^deb ' /target/etc/apt/sources.list; then echo "INFO: sources.list is configured, everything is fine" exit 0 fi echo "INFO: sources.list is empty, setting up a default one for Kali" cat >/target/etc/apt/sources.list <