~videolan/vlc/packaging.utopic

« back to all changes in this revision

Viewing changes to debian/vlc-data.postinst

  • Committer: Benjamin Drung
  • Date: 2013-11-19 00:08:55 UTC
  • Revision ID: bdrung@ubuntu.com-20131119000855-oprix853dfyjskmq
Import of vlc 2.1.1-1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
set -e
 
3
 
 
4
#DEBHELPER#
 
5
 
 
6
case "$1" in
 
7
        configure)
 
8
                # Remove empty /etc/vlc directory (to work around bug #584185).
 
9
                if dpkg --compare-versions "$2" le "2.1.1" && test -d "/etc/vlc"; then
 
10
                        rmdir --ignore-fail-on-non-empty /etc/vlc/lua/http/dialogs /etc/vlc/lua/http /etc/vlc/lua /etc/vlc
 
11
                fi
 
12
                ;;
 
13
esac