summaryrefslogtreecommitdiff
path: root/pcr/libsemanage/libsemanage.install
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-04-12 18:38:51 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-04-12 18:38:51 +0200
commit48b88070565f9f10b821838e1e4127d6279a18b4 (patch)
treeb78ac2699fecec558f2f0e5ce529394193989cde /pcr/libsemanage/libsemanage.install
parent9b195088de06e99c29bca5e3d2a957bfd2652907 (diff)
downloadabslibre-48b88070565f9f10b821838e1e4127d6279a18b4.tar.gz
abslibre-48b88070565f9f10b821838e1e4127d6279a18b4.tar.bz2
abslibre-48b88070565f9f10b821838e1e4127d6279a18b4.zip
pcr: add policycoreutils (selinux policy core utilities)
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'pcr/libsemanage/libsemanage.install')
-rw-r--r--pcr/libsemanage/libsemanage.install6
1 files changed, 6 insertions, 0 deletions
diff --git a/pcr/libsemanage/libsemanage.install b/pcr/libsemanage/libsemanage.install
new file mode 100644
index 000000000..bf21bb203
--- /dev/null
+++ b/pcr/libsemanage/libsemanage.install
@@ -0,0 +1,6 @@
+post_upgrade() {
+ if [ "$(vercmp 2.4 "$2")" -eq 1 ]; then
+ echo "The policy storage location changed in SELinux Userspace Project 2.4 from /etc/selinux to /var/lib/selinux."
+ echo "Run /usr/lib/selinux/semanage_migrate_store to migrate your policy files to the new location."
+ fi
+}