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

@@ -61,6 +61,7 @@ install_yay() {
log_info "Building and installing yay..."
makepkg -si
add_rollback_cmd "sudo pacman -R --noconfirm yay"
cd "$orig_dir"
log_info "Cleaning up installer directory..."