[debian-edu-commits] debian-edu/pkg-team/ 02/02: Fixed lmms-common upgrade

Javier Serrano Polo jasp00-guest at moszumanska.debian.org
Sat May 28 22:31:42 UTC 2016


This is an automated email from the git hooks/post-receive script.

jasp00-guest pushed a commit to branch master
in repository lmms.

commit 5945d0c15b84b64992a5e4be98caeb2599960ec6
Author: Javier Serrano Polo <javier at jasp.net>
Date:   Sat May 28 22:47:58 2016 +0200

    Fixed lmms-common upgrade
---
 debian/changelog               |  1 +
 debian/control                 |  1 +
 debian/lmms-common.maintscript |  1 +
 debian/lmms-common.preinst     | 12 ------------
 4 files changed, 3 insertions(+), 12 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 00d5d63..2f2b184 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ lmms (1.1.3-3) unstable; urgency=low
 
   [ Javier Serrano Polo ]
   * Dropped Wine path from PATH.
+  * Fixed lmms-common upgrade (Closes: #825287).
 
  -- Javier Serrano Polo <javier at jasp.net>  Sat, 28 May 2016 21:47:04 +0200
 
diff --git a/debian/control b/debian/control
index 553c914..e56b679 100644
--- a/debian/control
+++ b/debian/control
@@ -61,6 +61,7 @@ Description: Linux Multimedia Studio
 Package: lmms-common
 Architecture: all
 Depends: zynaddsubfx-data, ${shlibs:Depends}, ${misc:Depends}
+Pre-Depends: ${misc:Pre-Depends}
 Description: Linux Multimedia Studio - common files
  LMMS aims to be a free alternative to popular (but commercial and closed-
  source) programs like FruityLoops, Cubase and Logic giving you the ability of
diff --git a/debian/lmms-common.maintscript b/debian/lmms-common.maintscript
new file mode 100644
index 0000000..15d6735
--- /dev/null
+++ b/debian/lmms-common.maintscript
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/lmms/presets/ZynAddSubFX ../../zynaddsubfx/banks 1.1.3-2~
diff --git a/debian/lmms-common.preinst b/debian/lmms-common.preinst
deleted file mode 100644
index 1ac32b5..0000000
--- a/debian/lmms-common.preinst
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-set -e
-
-case "$1" in
-	install | upgrade)
-		if dpkg --compare-versions "$2" lt "1.1.3-1.1" ; then
-			rm -fr /usr/share/lmms/presets/ZynAddSubFX
-		fi
-	;;
-esac
-
-#DEBHELPER#

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/lmms.git



More information about the debian-edu-commits mailing list