fixes
This commit is contained in:
1 parent
3fcaaa8d82
commit
45217e3d1e
3 files changed
+4
-6
No files matched your search
@@ -5,7 +5,5 @@ if [ ! -f /var/lib/ymp/sysconf/polkit/postinstall.done ] ; then
|
||||
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
|
||||
chmod 4755 /usr/lib/polkit-1/polkit-agent-helper-1
|
||||
chmod 4755 /usr/bin/pkexec
|
||||
date > /var/lib/ymp/sysconf/polkit/postinstall.done
|
||||
fi
|
||||
@@ -9,11 +9,13 @@ maintainer='akarsu'
|
||||
license=('GPLv3')
|
||||
source=("https://gitlab.freedesktop.org/polkit/polkit/-/archive/$version/polkit-$version.tar.gz"
|
||||
"polkit.groups"
|
||||
"polkit.initd"
|
||||
"polkit.passwd"
|
||||
"polkit.sysconf")
|
||||
depends=(duktape expat glib pam elogind)
|
||||
makedepends=(gobject-introspection gtk-doc meson)
|
||||
md5sums=('bbe3e745fc5bc1a41f1b5044f09a0f26'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP')
|
||||
@@ -37,9 +39,10 @@ build(){
|
||||
package(){
|
||||
ninja -C build install $jobs
|
||||
rm -rf $DESTDIR/garbage
|
||||
install -d $DESTDIR/etc/{passwd,group,sysconf}.d
|
||||
install -d $DESTDIR/etc/{passwd,group,sysconf,init}.d
|
||||
install ../polkit.sysconf $DESTDIR/etc/sysconf.d/polkit
|
||||
install ../polkit.groups $DESTDIR/etc/group.d/polkit
|
||||
install ../polkit.passwd $DESTDIR/etc/passwd.d/polkit
|
||||
install ../polkit.initd $DESTDIR/etc/init.d/polkit
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user