added apt check argument

This commit is contained in:
Pardesi_Cat 2023-06-03 02:46:19 +05:30
parent c413172a57
commit 15ede8289e
Signed by: pardesicat
GPG Key ID: 331A25436287A3CF
1 changed files with 17 additions and 1 deletions

View File

@ -1,10 +1,18 @@
#!writted by Pardesi_Cat
#!/bin/bash/
APT="/usr/bin/apt"
cat catboii
sleep 5
if [[ -v "$APT" ]] ; then
echo -e "your on debian type system with apt"
echo -e "starting"
echo "-------------------------------------------------"
echo "| |"
echo " Namaste : $(whoami) "
@ -62,4 +70,12 @@ echo "--------------------------------------------------"
sleep 5
exit
exit
else
echo -e "your on other system"
echo -e "closing script"
exit 0
fi