From 13bdc0e415f9b0e92992cb1f2367145fda0b643d Mon Sep 17 00:00:00 2001 From: Stacy Harper Date: Sat, 29 May 2021 22:04:50 +0200 Subject: [PATCH] Remove polkit rules as it is now in pmOs package https://gitlab.com/postmarketOS/pmaports/-/merge_requests/2197/diffs?commit_id=5886e238babe8fd19428b4e05f89a371ed1ef4f6 Signed-off-by: Stacy Harper Signed-off-by: Maarten van Gompel --- Makefile | 2 -- configs/polkit/00-sxmo.rules | 7 ------- 2 files changed, 9 deletions(-) delete mode 100644 configs/polkit/00-sxmo.rules diff --git a/Makefile b/Makefile index 08055c3..b31c533 100644 --- a/Makefile +++ b/Makefile @@ -40,8 +40,6 @@ install: $(PROGRAMS) install -D -m 0644 -t $(DESTDIR)/etc/alsa/conf.d/ configs/alsa/alsa_sxmo_enable_dmix.conf - install -D -m 0644 -t $(DESTDIR)/etc/polkit-1/rules.d/ configs/polkit/*.rules - install -D -m 0644 -t $(DESTDIR)/etc/udev/rules.d/ configs/udev/*.rules install -D -m 0644 -t $(DESTDIR)$(PREFIX)/share/applications/ configs/xdg/mimeapps.list diff --git a/configs/polkit/00-sxmo.rules b/configs/polkit/00-sxmo.rules deleted file mode 100644 index c1b52dd..0000000 --- a/configs/polkit/00-sxmo.rules +++ /dev/null @@ -1,7 +0,0 @@ -polkit.addRule(function(action, subject) { - if (action.id.indexOf("org.freedesktop.ModemManager1.") == 0 && - subject.isInGroup("plugdev")) { - - return polkit.Result.YES; - } -});