mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-24 13:30:05 +01:00
https://bugs.freedesktop.org/show_bug.cgi?id=101557 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
12 lines
290 B
Bash
12 lines
290 B
Bash
#!/bin/sh
|
|
#
|
|
# $1: abs path to libdir
|
|
# $2: abs path to .so file
|
|
|
|
libdir="$1"
|
|
sofile=$(basename "$2")
|
|
|
|
if command -v restorecon >/dev/null; then
|
|
echo "Restoring SELinux context on $MESON_INSTALL_DESTDIR_PREFIX/$libdir/$sofile"
|
|
restorecon "$MESON_INSTALL_DESTDIR_PREFIX/$libdir/$sofile"
|
|
fi
|