diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-02-06 15:20:18 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-02-26 19:12:26 +0100 |
commit | 744e288d104a7df040ccb9a095c3e402fc2820d7 (patch) | |
tree | 95f020fa8c305419880c41dcc18a3a8226b87deb /debian | |
parent | f6a11402755a2489babb8bbf1c3b8b97b8d1ac7a (diff) | |
download | nx-libs-744e288d104a7df040ccb9a095c3e402fc2820d7.tar.gz nx-libs-744e288d104a7df040ccb9a095c3e402fc2820d7.tar.bz2 nx-libs-744e288d104a7df040ccb9a095c3e402fc2820d7.zip |
debian/nxagent.*: Drop conffile /etc/nxagent/rgb utilizing dpkg-maintscript-helper.
Diffstat (limited to 'debian')
-rw-r--r-- | debian/control | 2 | ||||
-rw-r--r-- | debian/nxagent.install | 2 | ||||
-rwxr-xr-x | debian/nxagent.postinst | 8 | ||||
-rwxr-xr-x | debian/nxagent.postrm | 8 | ||||
-rwxr-xr-x | debian/nxagent.preinst | 8 |
5 files changed, 26 insertions, 2 deletions
diff --git a/debian/control b/debian/control index eb0d68904..a98f7f6f0 100644 --- a/debian/control +++ b/debian/control @@ -39,6 +39,8 @@ Vcs-Browser: https://github.com/ArcticaProject/nx-libs/ Package: nx-x11-common Architecture: all Multi-Arch: foreign +Pre-Depends: + dpkg (>= 1.15.7.2), Depends: ${misc:Depends}, Breaks: nxlibs (<= 3.5.1), diff --git a/debian/nxagent.install b/debian/nxagent.install index 5f6a9de35..34f5c3a76 100644 --- a/debian/nxagent.install +++ b/debian/nxagent.install @@ -1,6 +1,4 @@ etc/nxagent/keystrokes.cfg -etc/nxagent/rgb -usr/share/nx/rgb usr/share/nx/VERSION.nxagent usr/share/man/man1/nxagent.1* usr/lib/*/nx/bin/nxagent diff --git a/debian/nxagent.postinst b/debian/nxagent.postinst new file mode 100755 index 000000000..8ad000e9b --- /dev/null +++ b/debian/nxagent.postinst @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +dpkg-maintscript-helper rm_conffile \ + /etc/nxagent/rgb "2:3.5.99.4-999" nxagent -- "$@" + +#DEBHELPER# diff --git a/debian/nxagent.postrm b/debian/nxagent.postrm new file mode 100755 index 000000000..8ad000e9b --- /dev/null +++ b/debian/nxagent.postrm @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +dpkg-maintscript-helper rm_conffile \ + /etc/nxagent/rgb "2:3.5.99.4-999" nxagent -- "$@" + +#DEBHELPER# diff --git a/debian/nxagent.preinst b/debian/nxagent.preinst new file mode 100755 index 000000000..8ad000e9b --- /dev/null +++ b/debian/nxagent.preinst @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +dpkg-maintscript-helper rm_conffile \ + /etc/nxagent/rgb "2:3.5.99.4-999" nxagent -- "$@" + +#DEBHELPER# |