$OpenBSD: patch-docs_man_pkexec_xml,v 1.3 2011/08/17 16:59:27 ajacoutot Exp $ --- docs/man/pkexec.xml.orig Mon Aug 1 15:47:28 2011 +++ docs/man/pkexec.xml Wed Aug 17 18:20:36 2011 @@ -150,14 +150,14 @@ EXAMPLE To specify what kind of authorization is needed to execute the - program /usr/bin/pk-example-frobnicate as + program ${PREFIX}/bin/pk-example-frobnicate as another user, simply write an action definition file like this FIXME: MISSING XINCLUDE CONTENT and drop it in the - /usr/share/polkit-1/actions directory under + ${PREFIX}/share/polkit-1/actions directory under a suitable name (e.g. matching the namespace of the action). Note that in addition to specifying the program, the authentication message, description, icon and defaults can be @@ -192,7 +192,7 @@ | Password: [__________________________________] | | | | [V] Details: | -| Command: /usr/bin/pk-example-frobnicate | +| Command: ${PREFIX}/bin/pk-example-frobnicate | | Run As: Super User (root) | | Action: org.fd.pk.example.pkexec.run-frobnicate | | Vendor: Examples for the PolicyKit Project | @@ -226,7 +226,7 @@ | | | [V] Detaljer: | | Bruger: Super User (root) | -| Program: /usr/bin/pk-example-frobnicate | +| Program: ${PREFIX}/bin/pk-example-frobnicate | | Handling: org.fd.pk.example.pkexec.run-frobnicate | | Vendor: Examples for the PolicyKit Project | | |