PR comments: handle unix on pwsh, update readme, rename variable in unix script

This commit is contained in:
Sander Declerck 2025-12-10 13:48:07 +01:00
parent 67d91c171a
commit bd017d02e0
No known key found for this signature in database
3 changed files with 29 additions and 14 deletions

View file

@ -77,11 +77,11 @@ remove_volta_installation() {
# Main uninstallation
main() {
SAFE_CHAIN_EXE="$INSTALL_DIR/safe-chain"
SAFE_CHAIN_LOCATION="$INSTALL_DIR/safe-chain"
if [ -x "$SAFE_CHAIN_EXE" ]; then
if [ -x "$SAFE_CHAIN_LOCATION" ]; then
info "Running safe-chain teardown..."
"$SAFE_CHAIN_EXE" teardown || warn "safe-chain teardown encountered issues, continuing with uninstallation..."
"$SAFE_CHAIN_LOCATION" teardown || warn "safe-chain teardown encountered issues, continuing with uninstallation..."
elif command_exists safe-chain; then
info "Running safe-chain teardown..."
safe-chain teardown || warn "safe-chain teardown encountered issues, continuing with uninstallation..."