mirror of
https://github.com/Matir/skel.git
synced 2026-05-26 13:35:42 -07:00
Add Pentester Framework.
This commit is contained in:
@@ -66,8 +66,12 @@ function install_git {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function add_bin_symlink {
|
function add_bin_symlink {
|
||||||
local LINKNAME=${2:-`basename $1`}
|
local LINKNAME=${HOME}/bin/${2:-`basename $1`}
|
||||||
ln -s ${1} ${HOME}/bin/${LINKNAME}
|
if [[ -e ${LINKNAME} && ! -h ${LINKNAME} ]] ; then
|
||||||
|
echo "Refusing to overwrite ${LINKNAME}" >&2
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
ln -sf ${1} ${LINKNAME}
|
||||||
}
|
}
|
||||||
|
|
||||||
function postinstall {
|
function postinstall {
|
||||||
|
|||||||
Reference in New Issue
Block a user