mirror of
https://github.com/Snigdha-OS/snigdhaos-pkgbuilds.git
synced 2025-09-22 20:45:00 +02:00

Some checks are pending
Check Conventional Commit / check-commit-message (push) Waiting to run
11 lines
300 B
Bash
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
|