summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfig/chroot_local-hooks/59-libdvd-pkg8
1 files changed, 4 insertions, 4 deletions
diff --git a/config/chroot_local-hooks/59-libdvd-pkg b/config/chroot_local-hooks/59-libdvd-pkg
index 2e4dea8..39177ac 100755
--- a/config/chroot_local-hooks/59-libdvd-pkg
+++ b/config/chroot_local-hooks/59-libdvd-pkg
@@ -15,7 +15,7 @@ dpkg-reconfigure libdvd-pkg
tmp="$(mktemp -d)"
apt-get install --yes equivs
- LIBDVD_PKG_VERSION=$(dpkg-query -s libdvd-pkg | grep Version | cut -d ' ' -f2 )
+ LIBDVD_PKG_VERSION="$(dpkg-query -s libdvd-pkg | grep Version | cut -d ' ' -f2)+fake1"
cat > "${tmp}/libdvd-pkg-${LIBDVD_PKG_VERSION}.control" << EOF
Section: multimedia
@@ -23,9 +23,9 @@ Priority: optional
Homepage: https://tails.boum.org/
Standards-Version: 3.6.2
-Package: libdvd-pkg-${LIBDVD_PKG_VERSION}
+Package: libdvd-pkg
+Version: ${LIBDVD_PKG_VERSION}
Maintainer: Tails developers <amnesia@boum.org>
-Provides: libdvd-pkg
Architecture: all
Description: (Fake) libdvd-pkg package
Provide placeholder to keep libdvdcss2 happy.
@@ -33,7 +33,7 @@ EOF
cd "${tmp}"
equivs-build "${tmp}/libdvd-pkg-${LIBDVD_PKG_VERSION}.control"
- dpkg -i "${tmp}/libdvd-pkg-${LIBDVD_PKG_VERSION}_1.0_all.deb"
+ dpkg -i "${tmp}/libdvd-pkg-${LIBDVD_PKG_VERSION}_all.deb"
cd -
rm -R "${tmp}"
)