Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
stefanberger
/
openbmc
/
1caf6e3b12b026923d0eaadf5c482867f2d71b98
/
.
/
meta-openembedded
/
meta-gnome
/
recipes-extended
/
gparted
/
files
/
gparted_polkit
blob: feabd0eebb67c220a341f77ad746884c0a3b06e8 [
file
] [
log
] [
blame
]
#!/bin/sh
# polkit installed?
if
[
$
(
which pkexec
)
];
then
pkexec
--
disable
-
internal
-
agent
"%sbindir%/gparted"
"$@"
else
%
sbindir
%/
gparted
"$@"
fi