INNER CODE UNIT · Shell
$1
ByCh4n/BCHackTool · bchacktool.sh:39
if [[ $1 =~ ^(-v|--version) ]] ; then
echo "$version"
elif [[ $1 =~ ^(-s|--sil) ]] ; then
function yesorno {
read -p "$foldx mevcut silmek istiyormusun? (e/h)?" CONT
if [[ "$CONT" =~ ^(e|E|evet|EVET) ]]; then
rm -rf ./$foldx
else
echo "passed..";
fi
}
cd $setdir
if [[ -d kalisources ]] ; then
foldx=kalisources
yesorno
fi
if [[ -d inshackle ]] ; then
foldx="inshackle"