mirror of
https://github.com/WiVRn/WiVRn.git
synced 2026-12-04 15:52:50 -08:00
fix(debian): remove obsolete CAP_SYS_NICE setup
Remove the obsolete postinst script and libcap-dev build dependency instead of introducing a runtime dependency on libcap2-bin.
This commit is contained in:
1 parent
7724168a15
commit
abe0722ecc
2 files changed
-42
No files matched your search
Vendored
-2
@@ -17,7 +17,6 @@ Build-Depends:
|
||||
libavutil-dev,
|
||||
libbsd-dev,
|
||||
libboost-all-dev,
|
||||
libcap-dev,
|
||||
libcjson-dev,
|
||||
libcli11-dev,
|
||||
libeigen3-dev,
|
||||
@@ -63,7 +62,6 @@ Multi-Arch: foreign
|
||||
Depends:
|
||||
${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
libcap2-bin,
|
||||
qml6-module-org-kde-coreaddons,
|
||||
qml6-module-org-kde-desktop,
|
||||
qml6-module-org-kde-kirigami,
|
||||
|
||||
Vendored
-40
@@ -1,40 +0,0 @@
|
||||
#!/bin/sh
|
||||
# postinst script for wivrn.
|
||||
#
|
||||
# See: dh_installdeb(1).
|
||||
|
||||
set -e
|
||||
|
||||
# Summary of how this script can be called:
|
||||
# * <postinst> 'configure' <most-recently-configured-version>
|
||||
# * <old-postinst> 'abort-upgrade' <new version>
|
||||
# * <conflictor's-postinst> 'abort-remove' 'in-favour' <package>
|
||||
# <new-version>
|
||||
# * <postinst> 'abort-remove'
|
||||
# * <deconfigured's-postinst> 'abort-deconfigure' 'in-favour'
|
||||
# <failed-install-package> <version> 'removing'
|
||||
# <conflicting-package> <version>
|
||||
# for details, see https://www.debian.org/doc/debian-policy/ or
|
||||
# the debian-policy package.
|
||||
|
||||
|
||||
case "$1" in
|
||||
configure)
|
||||
setcap CAP_SYS_NICE=+ep /usr/bin/wivrn-server
|
||||
;;
|
||||
|
||||
abort-upgrade|abort-remove|abort-deconfigure)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "postinst called with unknown argument '$1'" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# dh_installdeb will replace this with shell code automatically
|
||||
# generated by other debhelper scripts.
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
Reference in new issue
Block a user