Check path for deb-to-kali.

This commit is contained in:
David Tomaschik
2016-03-15 20:48:15 -07:00
parent 6a6216a720
commit 46255e9ab7

View File

@@ -6,6 +6,10 @@ if [ `whoami` != "root" ] ; then
fi
BASEDIR=`dirname $0`
if ! -f ${BASEDIR}/keys/gpg/kali-repo.key ; then
echo "Couldn't find key, are you in the right place?" >&2
exit 1
fi
cat >/etc/apt/sources.list.d/kali.list <<KALI_EOF
deb http://http.kali.org/kali kali-rolling main contrib non-free