libnetwork: remove warning on unexpected package version against git tag

This commit is contained in:
Silvan Calarco 2024-11-08 21:35:23 +01:00
parent baa246544c
commit 85b067df45

View File

@ -1016,16 +1016,6 @@ function git.create_tarball() {
[ "$destdir" ] || notify.error $"\ [ "$destdir" ] || notify.error $"\
(bug)"" -- $FUNCNAME: "$"missing mandatory arg"" (--destdir)" (bug)"" -- $FUNCNAME: "$"missing mandatory arg"" (--destdir)"
local today="$(date "+%Y%m%d")"
if [ "$pck_version" ]; then
[ "$pck_version" = "${today}git" ] || notify.warning "\
${NOTE}${pck_version}${NORM}: "$"\
not the expected package version"" (${NOTE}${today}git${NORM})..."
else
pck_version="${today}git"
notify.debug "$FUNCNAME: pck_version = \"$pck_version\""
fi
type -p git &>/dev/null || type -p git &>/dev/null ||
notify.error $"utility not found"": \`git'" notify.error $"utility not found"": \`git'"