/usr/share/sagemath/bin/sage-fix-pkg-checksums is in sagemath-common 8.1-7ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #!/usr/bin/env bash
echo "Deprecated #19984, use sage --package fix-checksum instead"
# If any command-line arguments are present, treat them as files to be
# checksummed. If no arguments are present, all tarballs in
# $SAGE_ROOT/upstream are checksummed.
if [ $# -eq 0 ]; then
sage --package fix-checksum
else
for tarball in "$@" ; do
pkg=$(sage --package name $tarball)
sage --package fix-checksum $pkg
done
fi
|