[SCM] vlc/master: Remove obsolete postinst script

sramacher at users.alioth.debian.org sramacher at users.alioth.debian.org
Tue Oct 27 22:56:04 UTC 2015


The following commit has been merged in the master branch:
commit c3876ae485be75837c5f1fc9ffb8dd2eaaf71ea4
Author: Sebastian Ramacher <sramacher at debian.org>
Date:   Tue Oct 27 23:35:04 2015 +0100

    Remove obsolete postinst script

diff --git a/debian/vlc-data.postinst b/debian/vlc-data.postinst
deleted file mode 100644
index 2fc1f4f..0000000
--- a/debian/vlc-data.postinst
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-set -e
-
-#DEBHELPER#
-
-check_and_remove() {
-	if test -d "$1"; then
-		rmdir --ignore-fail-on-non-empty "$1"
-	fi
-}
-
-case "$1" in
-	configure)
-		# Remove empty /etc/vlc directory (to work around bug #584185).
-		if dpkg --compare-versions "$2" le "2.1.1"; then
-			check_and_remove /etc/vlc/lua/http/dialogs
-			check_and_remove /etc/vlc/lua/http
-			check_and_remove /etc/vlc/lua
-			check_and_remove /etc/vlc
-		fi
-		;;
-esac

-- 
VLC media player packaging



More information about the pkg-multimedia-commits mailing list