Add wrapper script "mate-polkit" (with man page) allowing execution of the mate-polkit service outside of MATE desktops.
This commit is contained in:
parent
3973091195
commit
bbc47e3f8d
3
debian/bin/mate-polkit.in
vendored
Executable file
3
debian/bin/mate-polkit.in
vendored
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
/usr/lib/@BUILD_ARCH@/polkit-mate/polkit-mate-authentication-agent-1 &
|
8
debian/man/mate-polkit.1
vendored
Normal file
8
debian/man/mate-polkit.1
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
.TH mate-polkit 1 "" ""
|
||||
.SH NAME
|
||||
mate-polkit \- MATE PolicyKit-1 executable wrapper
|
||||
.SH SYNOPSIS
|
||||
.B mate-polkit
|
||||
.SH DESCRIPTION
|
||||
A wrapper for the MATE PolicyKit-1 executable. Make MATE PolicyKit-1 easily
|
||||
accessible on non-MATE desktops (e.g., i3, awesome, ratpoison and such).
|
1
debian/mate-polkit.install
vendored
1
debian/mate-polkit.install
vendored
@ -1 +1,2 @@
|
||||
debian/bin/
|
||||
usr/lib/*/polkit-mate/
|
||||
|
1
debian/mate-polkit.manpages
vendored
Normal file
1
debian/mate-polkit.manpages
vendored
Normal file
@ -0,0 +1 @@
|
||||
debian/man/mate-polkit.1
|
8
debian/rules
vendored
8
debian/rules
vendored
@ -22,11 +22,15 @@ DEB_CONFIGURE_EXTRA_FLAGS := --disable-silent-rules \
|
||||
--disable-static \
|
||||
--with-gtk=2.0
|
||||
|
||||
common-install-indep:: remove-cruft
|
||||
common-install-arch:: remove-cruft
|
||||
common-install-indep:: remove-cruft install-wrapper
|
||||
common-install-arch:: remove-cruft install-wrapper
|
||||
|
||||
remove-cruft::
|
||||
rm -fv debian/tmp/usr/lib/*/*.la
|
||||
|
||||
install-wrapper::
|
||||
mkdir -p debian/tmp/usr/bin/
|
||||
cat debian/bin/mate-polkit.in | sed -e 's/@BUILD_ARCH@/$(shell dpkg-architecture -qDEB_BUILD_MULTIARCH)/' > debian/tmp/usr/bin/mate-polkit
|
||||
|
||||
get-orig-source:
|
||||
uscan --noconf --force-download --rename --download-current-version --destdir=..
|
||||
|
Loading…
Reference in New Issue
Block a user