Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
stefanberger
/
openbmc
/
ab41e79d70ca71e052925b71c4338c540dfdf0bc
/
.
/
meta-openembedded
/
meta-gnome
/
recipes-extended
/
gparted
/
files
/
gparted_polkit
blob: feabd0eebb67c220a341f77ad746884c0a3b06e8 [
file
] [
log
] [
blame
]
Patrick Williams
b48b7b4
2016-08-17 15:04:38 -0500
[
diff
] [
blame
]
1
#!/bin/sh
2
3
# polkit installed?
4
if
[
$
(
which pkexec
)
];
then
5
pkexec
--
disable
-
internal
-
agent
"%sbindir%/gparted"
"$@"
6
else
7
%
sbindir
%/
gparted
"$@"
8
fi
9
10