diff options
author | David P <megver83@parabola.nu> | 2020-08-19 18:48:44 -0400 |
---|---|---|
committer | David P <megver83@parabola.nu> | 2020-08-19 19:37:37 -0400 |
commit | 880119237a38ba5cfedffb411261bd739880f848 (patch) | |
tree | 7b2adf58af246f1fecca019c5e3fd02c28b187b9 /pcr/modemmanager-pk-rules | |
parent | 422af91267e3c0a45fcb60e35c16d1d26088d2f5 (diff) | |
download | abslibre-880119237a38ba5cfedffb411261bd739880f848.tar.gz abslibre-880119237a38ba5cfedffb411261bd739880f848.tar.bz2 abslibre-880119237a38ba5cfedffb411261bd739880f848.zip |
remove pcr/modemmanager-pk-rules
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'pcr/modemmanager-pk-rules')
-rw-r--r-- | pcr/modemmanager-pk-rules/01-org.freedesktop.ModemManager1.rules | 6 | ||||
-rw-r--r-- | pcr/modemmanager-pk-rules/PKGBUILD | 23 |
2 files changed, 0 insertions, 29 deletions
diff --git a/pcr/modemmanager-pk-rules/01-org.freedesktop.ModemManager1.rules b/pcr/modemmanager-pk-rules/01-org.freedesktop.ModemManager1.rules deleted file mode 100644 index 6df2427c5..000000000 --- a/pcr/modemmanager-pk-rules/01-org.freedesktop.ModemManager1.rules +++ /dev/null @@ -1,6 +0,0 @@ -polkit.addRule(function(action, subject) { - if (/^org\.freedesktop\.ModemManager1\.(Device\.Control|Contacts|Messaging|Location)$/.test(action.id) && - subject.isInGroup("network")) { - return "yes"; - } -}); diff --git a/pcr/modemmanager-pk-rules/PKGBUILD b/pcr/modemmanager-pk-rules/PKGBUILD deleted file mode 100644 index 7befa5fc6..000000000 --- a/pcr/modemmanager-pk-rules/PKGBUILD +++ /dev/null @@ -1,23 +0,0 @@ -# Maintainer (Arch): artoo <artoo@manjaro.org> -# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> - -pkgname=modemmanager-pk-rules -pkgver=20160402 -pkgrel=1 -pkgdesc="ModemManager polkit rule for non-systemd systems" -arch=('any') -groups=('openrc-desktop' 'openrc-mobile') -license=('GPL') -url="https://github.com/manjaro/packages-openrc" -depends=('modemmanager') -source=('01-org.freedesktop.ModemManager1.rules') -sha256sums=('17b5e3ead960a0d2c3cea3f1549d1e83ada9600f174ab9a96f083abe6d8f962d') - -pkgver() { - date +%Y%m%d -} - -package() { - install -dm 750 -o polkitd "${pkgdir}"/usr/share/polkit-1/rules.d - install -m 644 ${srcdir}/01-org.freedesktop.ModemManager1.rules $pkgdir/usr/share/polkit-1/rules.d/ -} |