Skip to content

Commit

Permalink
beesh: call validate_pkg_from_filename
Browse files Browse the repository at this point in the history
  • Loading branch information
donald committed Jul 5, 2016
1 parent 1963674 commit 476d2c1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/beesh.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -958,6 +958,9 @@ PKGREVISION=

eval $("${BEE_BINDIR}/beeversion" "${BEE}")

validate_pkg_complete_from_filename || \
bee_die "filename $BEE is invalid. (valid examples: bla-0.bee bla-1.2.3-55.bee bla_lall_x-1.2.3.4_xxx-0.x86_64.bee)"

###############################################################################

# clear PKGALLPKG since we can't trust PKGARCH in this state
Expand Down

0 comments on commit 476d2c1

Please sign in to comment.