diff options
| author | svntobi <svntobi@cd0d6b48-d4f9-0310-940f-ab8c4eb44d3f> | 2007-08-11 15:40:59 +0000 |
|---|---|---|
| committer | svntobi <svntobi@cd0d6b48-d4f9-0310-940f-ab8c4eb44d3f> | 2007-08-11 15:40:59 +0000 |
| commit | 9bc88e820e60b6ecbce4113afc14fa56907048e2 (patch) | |
| tree | cad94c257a6933a0636eb5f8fd152516c14370fd /debian | |
| parent | f9d256e6b547eefc8e7769e7263418b92e553449 (diff) | |
| download | vdr-plugin-menuorg-9bc88e820e60b6ecbce4113afc14fa56907048e2.tar.gz vdr-plugin-menuorg-9bc88e820e60b6ecbce4113afc14fa56907048e2.tar.bz2 | |
Added debian installation of menuorg.xml/xsd
git-svn-id: file:///home/tobias/sandbox/vdr/--/vdr-pkg/vdr-pkg/submenu/trunk@5678 cd0d6b48-d4f9-0310-940f-ab8c4eb44d3f
Diffstat (limited to 'debian')
| -rw-r--r-- | debian/install | 2 | ||||
| -rw-r--r-- | debian/postinst (renamed from debian/postinst.ex) | 3 | ||||
| -rw-r--r-- | debian/postrm (renamed from debian/postrm.ex) | 5 |
3 files changed, 9 insertions, 1 deletions
diff --git a/debian/install b/debian/install index 714cc7a..4b50e32 100644 --- a/debian/install +++ b/debian/install @@ -1 +1,3 @@ libvdr-menuorg.so.* usr/lib/vdr/plugins/ +menuorg.xsd usr/share/vdr-plugin-menuorg/ +menuorg.xml usr/share/vdr-plugin-menuorg/ diff --git a/debian/postinst.ex b/debian/postinst index 2352e9b..7464457 100644 --- a/debian/postinst.ex +++ b/debian/postinst @@ -17,9 +17,12 @@ set -e # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package +MENUORG_XML=/var/lib/vdr/plugins/menuorg.xml case "$1" in configure) + [ -e "$MENUORG_XML" ] || \ + cp /usr/share/vdr-plugin-menuorg/menuorg.xml "$MENUORG_XML" ;; abort-upgrade|abort-remove|abort-deconfigure) diff --git a/debian/postrm.ex b/debian/postrm index 47e6e00..b823ff0 100644 --- a/debian/postrm.ex +++ b/debian/postrm @@ -20,7 +20,10 @@ set -e case "$1" in - purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + purge) + rm -f /var/lib/vdr/plugins/menuorg.xml + ;; + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; *) |
