aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-02-06 15:20:18 +0100
committerMihai Moldovan <ionic@ionic.de>2017-03-01 15:19:17 +0100
commit41c79bfc6abb1f588026e7527e3f2d2d751a9f9c (patch)
tree3c7c9aeb01454fba9c325f01314ea36f6822cd2e /debian
parent7e99ae37541b48b61fe81230c5920b1a355cf67f (diff)
downloadnx-libs-41c79bfc6abb1f588026e7527e3f2d2d751a9f9c.tar.gz
nx-libs-41c79bfc6abb1f588026e7527e3f2d2d751a9f9c.tar.bz2
nx-libs-41c79bfc6abb1f588026e7527e3f2d2d751a9f9c.zip
debian/nxagent.*: Drop conffile /etc/nxagent/rgb utilizing dpkg-maintscript-helper.
Diffstat (limited to 'debian')
-rw-r--r--debian/control2
-rw-r--r--debian/nxagent.install2
-rwxr-xr-xdebian/nxagent.postinst8
-rwxr-xr-xdebian/nxagent.postrm8
-rwxr-xr-xdebian/nxagent.preinst8
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#