fix-polkit-directory.patch 598 B

12345678910111213141516
  1. Index: hplip-3.9.10/configure.in
  2. ===================================================================
  3. --- hplip-3.9.10.orig/configure.in
  4. +++ hplip-3.9.10/configure.in
  5. @@ -438,9 +438,7 @@ AM_CONDITIONAL(POLICYKIT_INSTALL, test x
  6. # Determine where the PolicyKit policy file goes
  7. if test "$policykit" = "yes"; then
  8. - if test -d /usr/share/polkit-1; then
  9. - policykit_dir=/usr/share/polkit-1/actions
  10. - elif test -d /usr/share/PolicyKit; then
  11. + if test -d /usr/share/PolicyKit; then
  12. policykit_dir=/usr/share/PolicyKit/policy
  13. else
  14. policykit_dir=/usr/share/PolicyKit/policy