Skip to content

Commit

Permalink
Unbreak the array in previous to workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
ajacoutot committed Jan 19, 2025
1 parent c52bd0b commit f1b3656
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion sysutils/polkit/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ COMMENT= framework for granting privileged operations to users
GH_ACCOUNT= polkit-org
GH_PROJECT= polkit
GH_TAGNAME= 126
REVISION= 0
REVISION= 1

SHARED_LIBS += polkit-gobject-1 2.0 # 0.0.0
SHARED_LIBS += polkit-agent-1 2.0 # 0.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ https://github.com/polkit-org/polkit/issues/544
Index: src/polkitbackend/polkitbackendduktapeauthority.c
--- src/polkitbackend/polkitbackendduktapeauthority.c.orig
+++ src/polkitbackend/polkitbackendduktapeauthority.c
@@ -256,7 +256,9 @@ polkit_backend_common_js_authority_constructed (GObjec
@@ -256,8 +256,7 @@ polkit_backend_common_js_authority_constructed (GObjec
authority->priv->rules_dirs = g_new0 (gchar *, 5);
authority->priv->rules_dirs[0] = g_strdup (PACKAGE_SYSCONF_DIR "/polkit-1/rules.d");
authority->priv->rules_dirs[1] = g_strdup ("/run/polkit-1/rules.d");
+#if 0
authority->priv->rules_dirs[2] = g_strdup ("/usr/local/share/polkit-1/rules.d");
+#endif
authority->priv->rules_dirs[3] = g_strdup (PACKAGE_DATA_DIR "/polkit-1/rules.d");
- authority->priv->rules_dirs[2] = g_strdup ("/usr/local/share/polkit-1/rules.d");
- authority->priv->rules_dirs[3] = g_strdup (PACKAGE_DATA_DIR "/polkit-1/rules.d");
+ authority->priv->rules_dirs[2] = g_strdup (PACKAGE_DATA_DIR "/polkit-1/rules.d");
}

setup_file_monitors (authority);

0 comments on commit f1b3656

Please sign in to comment.