6bd1c30a96
Use new lib_depend syntax. Add USES=libtool USE_GNOME= gnomehack -> USES=pathfix USE_GMAKE -> USES=gmake Use USE_GNOME introspection component Use full path for commands in the pkg-install file
16 lines
489 B
Bash
16 lines
489 B
Bash
#!/bin/sh
|
|
|
|
case $2 in
|
|
POST-INSTALL)
|
|
/bin/mkdir -p /var/lib/polkit-1/localauthority
|
|
/bin/mkdir -p ${PKG_PREFIX}/etc/polkit-1/localauthority
|
|
/bin/mkdir -p ${PKG_PREFIX}/share/polkit-1/rules.d
|
|
for i in 10-vendor.d 20-org.d 30-site.d 50-local.d 90-mandatory.d; do
|
|
/bin/mkdir -p /var/lib/polkit-1/localauthority/${i}
|
|
/bin/mkdir -p ${PKG_PREFIX}/etc/polkit-1/localauthority/${i}
|
|
done
|
|
/bin/chmod 0700 /var/lib/polkit-1
|
|
/bin/chmod 0700 ${PKG_PREFIX}/etc/polkit-1
|
|
exit 0
|
|
;;
|
|
esac
|