[SCM] kodi/experimental: Fix extract-components target in d/rules

rbalint at users.alioth.debian.org rbalint at users.alioth.debian.org
Sun Apr 2 20:54:03 UTC 2017


The following commit has been merged in the experimental branch:
commit 6bc355f66ed5063678e01966b93621b077a1d139
Author: Balint Reczey <balint.reczey at canonical.com>
Date:   Sun Apr 2 11:41:28 2017 +0200

    Fix extract-components target in d/rules

diff --git a/debian/rules b/debian/rules
index a217c45..425066f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -197,7 +197,7 @@ override_dh_gencontrol-indep:
 # extract customized additional tarballs
 extract-components:
 	tar -xf $(CURDIR)/../kodi_"$(UPSTREAM_VERSION)".orig-$(DVDNAV_COMPONENT).tar.bz2 && \
-		mv libdvdnav-* $(CURDIR)/$(DVDNAV_COMPONENT)
+		test -d $(CURDIR)/$(DVDNAV_COMPONENT) || mv libdvdnav-* $(CURDIR)/$(DVDNAV_COMPONENT)
 	tar -xf $(CURDIR)/../kodi_"$(UPSTREAM_VERSION)".orig-$(DVDREAD_COMPONENT).tar.bz2 && \
-		mv libdvdread-* $(CURDIR)/$(DVDREAD_COMPONENT)
+		test -d $(CURDIR)/$(DVDREAD_COMPONENT) || mv libdvdread-* $(CURDIR)/$(DVDREAD_COMPONENT)
 	tar -xf $(CURDIR)/../kodi_"$(UPSTREAM_VERSION)".orig-webinterface-default.tar.xz

-- 
kodi packaging



More information about the pkg-multimedia-commits mailing list