diff options
author | tv@mageia.org <tv@mageia.org> | 2020-05-29 21:50:54 +0200 |
---|---|---|
committer | Nicolas Lécureuil <neoclust@mageia.org> | 2020-06-02 10:11:08 +0200 |
commit | 37e25d724cfda5417a4ddd03e601fb436573df78 (patch) | |
tree | 3182758f1c0c8714d1ab88a664393ae9477495fb /wrapper | |
parent | f14aaecef5b5fa76646960b826b81e2fcdc6f48d (diff) | |
download | draksnapshot-37e25d724cfda5417a4ddd03e601fb436573df78.tar draksnapshot-37e25d724cfda5417a4ddd03e601fb436573df78.tar.gz draksnapshot-37e25d724cfda5417a4ddd03e601fb436573df78.tar.bz2 draksnapshot-37e25d724cfda5417a4ddd03e601fb436573df78.tar.xz draksnapshot-37e25d724cfda5417a4ddd03e601fb436573df78.zip |
Add polkit feature
Diffstat (limited to 'wrapper')
-rw-r--r-- | wrapper | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -0,0 +1,12 @@ +#!/bin/sh +if [[ "$UID" != "0" ]] ; then + /usr/bin/pkexec /usr/libexec/draksnapshot-config "$@" + exit $? +fi +exec /usr/libexec/draksnapshot-config "$@" +#!/bin/sh +if [[ "$UID" != "0" ]] ; then + /usr/bin/pkexec /usr/libexec/draksnapshot-config "$@" + exit $? +fi +exec /usr/libexec/draksnapshot-config "$@" |