use pkexec first.

Merged Philip Müller requested to merge vejobuj:patch-1 into 0.4.x

Created by: vejobuj

use pkexec first and some typo and bash fix.

Merge request reports