libnetwork: remove warning on unexpected package version against git tag
This commit is contained in:
parent
baa246544c
commit
85b067df45
@ -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'"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user