blob: 7fa114395de89163bc0919a4107d2377694abb2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
post_install() {
echo ">>> Loading refpolicy-arch. Please wait ..."
/usr/bin/semodule -s refpolicy-arch -i /usr/share/selinux/refpolicy-arch/*.pp
echo ">>> Relabeling the filesystem may be needed."
echo ">>> This can be done with: /usr/bin/restorecon -rF /"
}
post_upgrade() {
post_install
}
post_remove() {
echo ">>> Removing refpolicy left-over files."
/bin/rm -rf /etc/selinux/refpolicy-arch
}
|