refactor: Update installer scripts to make use of rollback hooks and exec tracking

This commit is contained in:
2026-06-24 22:04:30 +05:30
parent b31a326ca1
commit 368dea1bbd
12 changed files with 22 additions and 0 deletions

View File

@@ -51,6 +51,8 @@ install_nvm() {
log_info "Extracting NVM archive directly to $HOME/.nvm (stripping versioned subfolder to keep config generic)..."
mkdir -p "$HOME/.nvm"
tar -xzf "$TMP_DIR/nvm.tar.gz" -C "$HOME/.nvm" --strip-components=1
track_dir "$HOME/.nvm"
log_success "NVM source files successfully extracted to $HOME/.nvm."
}