8 Commits

Author SHA1 Message Date
d2e04a4730 Fix apt hook logic to properly persist nag removal after updates
1. Fixed the apt hook logic
The original script used dpkg -V with backwards logic. The new version directly checks if nag patterns are present in the files using grep, which is much more reliable:

2. More robust pattern matching
Added multiple sed patterns to catch different variations of how the subscription check might be written:

data.status !== 'active'
data.status!=='active'
data.status != 'active'
data.status!='active'

3. Better testing and validation
The script now includes a test_current_fix() function that verifies whether nags are actually present and whether the fix is working.

4. Improved error handling
Better feedback about what's happening and whether the fix is working correctly.
2025-08-13 21:24:13 +00:00
3df979ceba Update readme.md 2025-07-28 06:48:13 +00:00
777557d3ad Add LICENSE 2025-07-28 06:44:22 +00:00
bcbbf0ffd6 Update readme.md 2025-07-28 06:43:08 +00:00
f1405420b0 Update readme.md 2025-07-28 06:42:44 +00:00
1aeed297ff Update readme.md 2025-07-28 06:42:01 +00:00
72105ba8bb Add readme.md 2025-07-28 06:36:25 +00:00
eef7f960f3 Add proxmox-nag-remover.sh 2025-07-24 20:41:23 +00:00