INNER CODE UNIT · Shell
yesorno
ByCh4n/BCHackTool · bchacktool.sh:42
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"
yesorno
fi
if [[ -d kickthemout ]] ; then