post: dbus: add /usr/share/dbus-1/system.d/*.conf to dbuspolicy checker 79/258379/1 accepted/tizen/unified/20210603.130633 submit/tizen/20210603.014336
authorINSUN PYO <insun.pyo@samsung.com>
Fri, 14 May 2021 09:54:50 +0000 (18:54 +0900)
committerINSUN PYO <insun.pyo@samsung.com>
Fri, 14 May 2021 09:58:28 +0000 (18:58 +0900)
Change-Id: Id44f4e883f1e5bd2c3cdbd38409779d7fa20ec07

scripts/generic-dbus-policychecker.post

index c97719a..d39478b 100644 (file)
@@ -2,7 +2,7 @@
 echo "#################### generic-dbus-policychecker.post ####################"
 if [ -x /usr/bin/dbuspolicy-checker ] ; then
        fail_cnt=0
-       for f in /etc/dbus-1/system.d/*.conf; do
+       for f in /etc/dbus-1/system.d/*.conf /usr/share/dbus-1/system.d/*.conf; do
                echo
                echo "$0: Checking D-Bus policy file: $f"
                result=$(/usr/bin/dbuspolicy-checker "$f")