mirror of
https://github.com/termux/termux-packages
synced 2024-06-19 16:50:18 +00:00
build-package: remove termux_step_compare_debs
This commit is contained in:
parent
fe2fbba877
commit
379f2452f3
|
@ -125,9 +125,6 @@ termux_step_create_debscripts() {
|
||||||
# Create the build deb file. Not to be overridden by package scripts.
|
# Create the build deb file. Not to be overridden by package scripts.
|
||||||
source scripts/build/termux_step_create_debfile.sh
|
source scripts/build/termux_step_create_debfile.sh
|
||||||
|
|
||||||
# Function to compare debs built with -i with ones from a repo
|
|
||||||
source scripts/build/termux_step_compare_debs.sh
|
|
||||||
|
|
||||||
# Finish the build. Not to be overridden by package scripts.
|
# Finish the build. Not to be overridden by package scripts.
|
||||||
source scripts/build/termux_step_finish_build.sh
|
source scripts/build/termux_step_finish_build.sh
|
||||||
|
|
||||||
|
@ -163,5 +160,4 @@ cd "$TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX"
|
||||||
termux_step_post_massage
|
termux_step_post_massage
|
||||||
termux_step_create_datatar
|
termux_step_create_datatar
|
||||||
termux_step_create_debfile
|
termux_step_create_debfile
|
||||||
termux_step_compare_debs
|
|
||||||
termux_step_finish_build
|
termux_step_finish_build
|
||||||
|
|
|
@ -1,18 +0,0 @@
|
||||||
termux_step_compare_debs() {
|
|
||||||
if [ "${TERMUX_INSTALL_DEPS}" = true ]; then
|
|
||||||
cd ${TERMUX_SCRIPTDIR}
|
|
||||||
|
|
||||||
for DEB in $TERMUX_PKG_NAME $(find $TERMUX_PKG_BUILDER_DIR $TERMUX_PKG_TMPDIR -name "*.subpackage.sh" | sed 's%\.subpackage\.sh%%g'); do
|
|
||||||
DEB=$(basename $DEB)
|
|
||||||
read DEB_ARCH DEB_VERSION <<< $(termux_extract_dep_info "$DEB")
|
|
||||||
termux_download_deb $DEB $DEB_ARCH $DEB_VERSION \
|
|
||||||
&& (
|
|
||||||
DEB_FILE=${DEB}_${DEB_VERSION}_${DEB_ARCH}.deb
|
|
||||||
|
|
||||||
# `|| true` to prevent debdiff's exit code from stopping build
|
|
||||||
debdiff $TERMUX_DEBDIR/$DEB_FILE $TERMUX_COMMON_CACHEDIR-$TERMUX_ARCH/$DEB_FILE || true
|
|
||||||
) || echo "Download of ${DEB}@${DEB_VERSION} failed, not comparing debs"
|
|
||||||
echo ""
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user