TPPMwarn 901 B

123456789101112131415161718192021222324252627282930
  1. #!/usr/bin/bash
  2. #
  3. # This is the script companion to the ALPM-hook file TPPM.hook
  4. # The purpose of this script is to warn about Third Party Package Managers
  5. #Get and print the offending Package name from stdin
  6. read PACKAGE
  7. echo -e "\n*** "$PACKAGE" ***\n"
  8. #Print the big scary warning
  9. cat << EOF
  10. This is a Third Party Package Manager.
  11. By Installing this Third party package manager you assume all responsibility for
  12. any system or freedom issues it may cause as there is no viable way for Parabola
  13. Devs to police the packages provided by this Third party package manager.
  14. To be clear, using this software may:
  15. Result in violation of one or all of your four freedoms.
  16. Result in you system becoming broken or unstable.
  17. All of the above.
  18. If you absolutely need the above package you'll have to uninstall
  19. your-system-sanity first.
  20. EOF
  21. #Exit with fail so package is not installed.
  22. exit 1