summaryrefslogtreecommitdiff
path: root/libre-testing/your-system-sanity/TPPM.hook
blob: 62f691daf85222ffae6af0b611cdaae0f2c68aaa (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
#ALPM-hook file to block the installation of Third Party Package Managers

[Trigger]
Operation = Install
Operation = Upgrade
Type = Package

# Enumerate offending packages below
Target = python-pip
Target = wesnoth
Target = openttd
Target = rubygems
Target = npm
Target = nuget



[Action]
Description = Warn user about Third Party Package Managers
Depends = coreutils
When = PreTransaction
NeedsTargets
Exec = /usr/bin/TPPMwarn
AbortOnFail