Skip to content

Commit

Permalink
correct app remove
Browse files Browse the repository at this point in the history
  • Loading branch information
HawksRepos authored Feb 1, 2020
1 parent 9b8b799 commit 6f9b664
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions menu/pgbox/remove/removal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ EOF
sleep 1.5
##check for running docker
drunning=$(docker ps --format '{{.Names}}' | grep "$typed")
if [[ "$running" == "$typed" ]]; then
if [[ "$drunning" == "$typed" ]]; then
tee <<-EOF
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Expand All @@ -103,7 +103,7 @@ EOF
rm -rf /opt/appdata/$typed
fi

if [[ "$running" != "$typed" ]]; then
if [[ "$drunning" != "$typed" ]]; then
tee <<-EOF
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Expand Down

0 comments on commit 6f9b664

Please sign in to comment.