Files
CELESTIFYX 08abac9e7d
Some checks are pending
Check Conventional Commit / check-commit-message (push) Waiting to run
Refactoring repository...
2025-01-14 19:02:06 +02:00

11 lines
300 B
Bash

#!/bin/bash
# Custom pacman wrapper to run snigdhaos-update.sh
# Check if the user wants to update the system
if [[ "$@" == "-Syyu" ]]; then
sudo /usr/local/bin/snigdhaos-update.sh # Run your custom update script
else
# Call the real pacman for other operations
/usr/bin/pacman "$@"
fi