scripts: Following polkit versioning scheme change
Signed-off-by: Attila Body <attila.body@gmail.com>
This commit is contained in:
parent
16327ff551
commit
cd6db1ee75
|
@ -45,7 +45,7 @@ add_polkit_rules()
|
|||
echo "PolicyKit not installed"
|
||||
exit 1
|
||||
fi
|
||||
POLKIT_VERSION="$( pkaction --version | grep -Po "(\d?\.\d+)" )"
|
||||
POLKIT_VERSION="$( pkaction --version | grep -Po "(\d+\.?\d*)" )"
|
||||
report_status "PolicyKit Version ${POLKIT_VERSION} Detected"
|
||||
if [ "$POLKIT_VERSION" = "0.105" ]; then
|
||||
# install legacy pkla file
|
||||
|
|
Loading…
Reference in New Issue