summaryrefslogtreecommitdiff
path: root/libre-testing/your-system-sanity/TPPMwarn
blob: 9a3271f08436c8387088fa949ee9f079a616dd01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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