mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 13:07:13 +08:00
udisk2: fix rules
This commit is contained in:
parent
d2f317ae7e
commit
6fca0a6ae8
@ -1,6 +1,6 @@
|
||||
polkit.addRule(function(action, subject) {
|
||||
if (action.id == “org.freedesktop.udisks2.filesystem-mount-system” &&
|
||||
subject.isInGroup(“storage”)) {
|
||||
if (action.id == "org.freedesktop.udisks2.filesystem-mount-system" &&
|
||||
subject.isInGroup("storage")) {
|
||||
return polkit.Result.YES;
|
||||
}
|
||||
});
|
||||
});
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
pkgname=udisks2
|
||||
pkgver=2.1.3
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc="Disk Management Service"
|
||||
arch=('x86_64')
|
||||
url="http://www.freedesktop.org/wiki/Software/udisks"
|
||||
@ -16,7 +16,7 @@ source=("http://udisks.freedesktop.org/releases/udisks-$pkgver.tar.bz2"
|
||||
'10-enable-mount.rules')
|
||||
md5sums=('f2c793f839058371d1e93a654199438d'
|
||||
'SKIP'
|
||||
'd5c45e5a3e81cd864b8cc10f0ff7810f')
|
||||
'd79f8471d2071d0759789dfce06c9840')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/udisks-${pkgver}"
|
||||
|
Loading…
Reference in New Issue
Block a user