mirror of
https://github.com/Matir/skel.git
synced 2026-05-26 13:35:42 -07:00
Check path for deb-to-kali.
This commit is contained in:
@@ -6,6 +6,10 @@ if [ `whoami` != "root" ] ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
BASEDIR=`dirname $0`
|
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
|
cat >/etc/apt/sources.list.d/kali.list <<KALI_EOF
|
||||||
deb http://http.kali.org/kali kali-rolling main contrib non-free
|
deb http://http.kali.org/kali kali-rolling main contrib non-free
|
||||||
|
|||||||
Reference in New Issue
Block a user