at the end of the day, it was inevitable

This commit is contained in:
Mo Elzubeir
2022-12-09 08:36:26 -06:00
commit 1218570914
1768 changed files with 887087 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
result=`ps aux | grep -i "deploy-aws.sh" | grep -v "grep" | wc -l`
if [ $result -ge 1 ]
then
echo "ABORT: Script already running."
else
cd /var/www/html && shopt -s extglob && echo eivuz6Ai | sudo -S rm -r !(var|vendor)
fi