Files
Keith T. GarnerandClaude Sonnet 5 6d81d44935 duperemove: add new package
duperemove is a simple tool for finding duplicated
extents and submitting them for deduplication. It
will de-dupe results on btrfs.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Signed-off-by: Keith T. Garner <kgarner@kgarner.com>
2026-10-05 17:47:02 +03:00

18 lines
440 B
Bash
Executable File

#!/bin/sh
# shellcheck shell=busybox
case "$PKG_NAME" in
duperemove)
# btrfs-extent-same has no --version/--help, so it cannot use the
# generic per-executable version check; override it here and
# verify the two binaries that do report a version.
duperemove --version 2>&1 | grep -F "$PKG_VERSION" || exit 1
hashstats --version 2>&1 | grep -F "$PKG_VERSION" || exit 1
;;
*)
echo "Untested package: $PKG_NAME" >&2
exit 1
;;
esac