Merge pull request 'condition' (#2) from condition into main

Reviewed-on: #2
This commit is contained in:
Pardesi_Cat 2023-06-04 08:06:30 +00:00
commit e96e342c2e
2 changed files with 35 additions and 5 deletions

11
catboii Normal file
View File

@ -0,0 +1,11 @@
____ _ _ ____ _
| _ \ __ _ _ __ __| | ___ ___(_) / ___|__ _| |_
| |_) / _` | '__/ _` |/ _ \/ __| | | | / _` | __|
| __/ (_| | | | (_| | __/\__ \ | | |__| (_| | |_
|_| \__,_|_| \__,_|\___||___/_|___\____\__,_|\__|
|_____|
Website : https://pardesicat.xyz

View File

@ -1,11 +1,22 @@
#!writted by Pardesi_Cat
#!/bin/bash/
echo "---------------------------------------------------"
APT="/usr/bin/apt"
cat catboii
sleep 5
if [ -f "$APT" ] ; then
echo -e "your on debian type system with apt"
echo -e "starting"
echo "-------------------------------------------------"
echo "| |"
echo " Namaste : $(whoami) "
echo "| |"
echo "--------------------------------------------------"
sleep 2
echo "--------------------------------------------------"
@ -29,7 +40,7 @@ sleep 2
echo -e "\e[1;32m Step 1: Updating packages \e[0m"
sudo apt update
sudo apt update -y
echo
@ -52,9 +63,17 @@ sudo apt autoremove -y
sleep 5
echo "--------------------------------------------------"
echo " : ....Done.... : "
echo " ....Done.... "
echo "--------------------------------------------------"
sleep 5
exit
exit
else
echo -e "your on other system"
echo -e "closing script"
exit 0
fi