#!/usr/bin/bash
#
# This is the script companion to the ALPM-hook file TPPM.hook
# The purpose of this script is to warn about Third Party Package Managers

#Get and print the offending Package name from stdin
read PACKAGE
echo -e "\n*** "$PACKAGE" ***\n"

#Print the big scary warning
cat  << EOF
This is a Third Party Package Manager.

  By Installing this Third party package manager you assume all responsibility for
any system or freedom issues it may cause as there is no viable way for Parabola
Devs to police the packages provided by this Third party package manager. 

To be clear, using this software may:

  Result in violation of one or all of your four freedoms.
  Result in you system becoming broken or unstable.
  All of the above.

  If you absolutely need the above package you'll have to uninstall 
your-system-sanity first.
EOF

#Exit with fail so package is not installed.
exit 1
