TPPM.hook 441 B

12345678910111213141516171819202122232425
  1. #ALPM-hook file to block the installation of Third Party Package Managers
  2. [Trigger]
  3. Operation = Install
  4. Operation = Upgrade
  5. Type = Package
  6. # Enumerate offending packages below
  7. Target = python-pip
  8. Target = wesnoth
  9. Target = openttd
  10. Target = rubygems
  11. Target = npm
  12. Target = nuget
  13. [Action]
  14. Description = Warn user about Third Party Package Managers
  15. Depends = coreutils
  16. When = PreTransaction
  17. NeedsTargets
  18. Exec = /usr/bin/TPPMwarn
  19. AbortOnFail