Commit 85d42412 authored by segfault's avatar segfault Committed by intrigeri
Browse files

Strip dates from Tailslib Python package

Will-fix: #15400
parent bd0c0b67
......@@ -5,7 +5,7 @@ set -u
echo "Installing the tailslib python library"
# Import ensure_hook_dependency_is_installed()
# Import ensure_hook_dependency_is_installed() and strip_nondeterminism_wrapper()
. /usr/local/lib/tails-shell-library/
ensure_hook_dependency_is_installed python3-setuptools
......@@ -14,5 +14,12 @@ ensure_hook_dependency_is_installed python3-setuptools
cd /tmp/pythonlib
python3 clean
python3 install
if [ ! -f ${package_glob_pattern} ]; then
echo "Cannot find Tailslib Python package \"${package_glob_pattern}\"" >&2
exit 1
strip_nondeterminism_wrapper --type zip "${package_glob_pattern}" 2>/dev/null
rm -rf /tmp/pythonlib
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment