[SCM] libav/ubuntu: Properly migrate /etc/ffserver.conf to /etc/avserver.conf. (Closes: #660786)

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 10 10:04:23 UTC 2012


The following commit has been merged in the ubuntu branch:
commit 810b8a26fa16827ff778e246d1918f57ad5b246f
Author: Andres Mejia <amejia004 at gmail.com>
Date:   Tue May 1 21:28:25 2012 -0400

    Properly migrate /etc/ffserver.conf to /etc/avserver.conf. (Closes: #660786)
    
    (cherry picked from commit 6c39614b2c9d4ded6a243c70326231d6a970287c)
    
    Conflicts:
    
    	debian/changelog

diff --git a/debian/libav-tools.postinst b/debian/libav-tools.postinst
new file mode 100644
index 0000000..da32841
--- /dev/null
+++ b/debian/libav-tools.postinst
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+if dpkg-maintscript-helper supports mv_conffile 2>/dev/null; then
+    dpkg-maintscript-helper mv_conffile /etc/ffserver.conf /etc/avserver.conf 6:0.8.1-7 -- "$@"
+fi
diff --git a/debian/libav-tools.postrm b/debian/libav-tools.postrm
new file mode 100644
index 0000000..da32841
--- /dev/null
+++ b/debian/libav-tools.postrm
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+if dpkg-maintscript-helper supports mv_conffile 2>/dev/null; then
+    dpkg-maintscript-helper mv_conffile /etc/ffserver.conf /etc/avserver.conf 6:0.8.1-7 -- "$@"
+fi
diff --git a/debian/libav-tools.preinst b/debian/libav-tools.preinst
new file mode 100644
index 0000000..da32841
--- /dev/null
+++ b/debian/libav-tools.preinst
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+if dpkg-maintscript-helper supports mv_conffile 2>/dev/null; then
+    dpkg-maintscript-helper mv_conffile /etc/ffserver.conf /etc/avserver.conf 6:0.8.1-7 -- "$@"
+fi

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list