Skip to content

Commit

Permalink
Remove files 'trusted.gpg' and 'nginx.list' when uninstall nginx.
Browse files Browse the repository at this point in the history
  • Loading branch information
loyess committed Apr 17, 2024
1 parent 23f8ca8 commit 7800cb6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utils/uninstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@ nginx_uninstall(){
rm -rf $(dirname ${NGINX_CONFIG})
fi
rm -rf ${WEB_INSTALL_MARK}
rm -rf /etc/apt/trusted.gpg
rm -rf /etc/apt/sources.list.d/nginx.list
fi
}

Expand Down

0 comments on commit 7800cb6

Please sign in to comment.