mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Don't delete .aikido folder
This commit is contained in:
parent
9494b5aae8
commit
ffbdedc7cd
2 changed files with 0 additions and 25 deletions
|
|
@ -8,7 +8,6 @@ set -e # Exit on error
|
|||
|
||||
# Configuration
|
||||
DOT_SAFE_CHAIN="${HOME}/.safe-chain"
|
||||
DOT_AIKIDO="${HOME}/.aikido"
|
||||
|
||||
# Colors for output
|
||||
RED='\033[0;31m'
|
||||
|
|
@ -164,14 +163,6 @@ main() {
|
|||
else
|
||||
info "Installation directory $DOT_SAFE_CHAIN does not exist. Nothing to remove."
|
||||
fi
|
||||
|
||||
# Remove install dir recursively if it exists
|
||||
if [ -d "$DOT_AIKIDO" ]; then
|
||||
info "Removing installation directory $DOT_AIKIDO"
|
||||
rm -rf "$DOT_AIKIDO" || error "Failed to remove $DOT_AIKIDO"
|
||||
else
|
||||
info "Installation directory $DOT_AIKIDO does not exist. Nothing to remove."
|
||||
fi
|
||||
}
|
||||
|
||||
main "$@"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue