summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAustin English <austinenglish@gmail.com>2016-02-12 02:34:30 -0600
committerAustin English <austinenglish@gmail.com>2016-02-12 02:37:20 -0600
commitb33bd693c2ae99ddcccb88951a04041ed523da11 (patch)
tree8e4a1b3843323e59b4dd6988a42cde2bc0bc9cc5
parent5b99aa2b718f01491548c903f2031120632c7c19 (diff)
config/chroot_local-hooks/59-libdvd-pkg: cleanup fake libdvd-pkg version handlingfeature/7674-libdvdcss2
-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}"
)