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 <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
master
Stacy Harper 4 years ago committed by Maarten van Gompel
parent 18892aa181
commit 13bdc0e415
  1. 2
      Makefile
  2. 7
      configs/polkit/00-sxmo.rules

@ -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

@ -1,7 +0,0 @@
polkit.addRule(function(action, subject) {
if (action.id.indexOf("org.freedesktop.ModemManager1.") == 0 &&
subject.isInGroup("plugdev")) {
return polkit.Result.YES;
}
});
Loading…
Cancel
Save