Files
binary-repo/sys/auth/polkit/polkit.sysconf
T
2023-03-16 08:52:03 +00:00

10 lines
362 B
Bash

#!/bin/bash
if [ ! -f /var/lib/ymp/sysconf/polkit/postinstall.done ] ; then
install -d /usr/share/polkit-1/rules.d
install -d /etc/polkit-1/rules.d
chown -R polkitd:polkitd /{etc,usr/share}/polkit-1/rules.d
chmod -R 700 /etc/polkit-1/rules.d
chmod -R 700 /usr/share/polkit-1/rules.d
date > /var/lib/ymp/sysconf/polkit/postinstall.done
fi