From 77b371e7b7e2e0cea84fcff566dea1aa423ae656 Mon Sep 17 00:00:00 2001 From: Freemor Date: Tue, 21 May 2019 13:25:05 -0300 Subject: Initial work on a package to address the Third Party Package Managar issue. --- libre-testing/your-system-sanity/TPPMwarn | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100755 libre-testing/your-system-sanity/TPPMwarn (limited to 'libre-testing/your-system-sanity/TPPMwarn') diff --git a/libre-testing/your-system-sanity/TPPMwarn b/libre-testing/your-system-sanity/TPPMwarn new file mode 100755 index 000000000..9a3271f08 --- /dev/null +++ b/libre-testing/your-system-sanity/TPPMwarn @@ -0,0 +1,29 @@ +#!/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 -- cgit v1.2.3