update_package.sh: fixed so version is asked for only when -v is set

This commit is contained in:
Reidar Cederqvist 2017-01-25 10:09:17 +01:00 committed by Sukru Senli
parent e620faab86
commit 34a24d227d

View file

@ -425,7 +425,7 @@ check_packages()
# print_git_update # print_git_update
git_repos_uptodate git_repos_uptodate
insert_hash_in_feed_makefile insert_hash_in_feed_makefile
[ "${UPDATE}" ] && insert_version_in_feed_makefile [ ${UPDATE} -eq 1 ] && insert_version_in_feed_makefile
create_message >tmp/msg create_message >tmp/msg
commit_feed tmp/msg commit_feed tmp/msg
insert_hash_in_feeds_config insert_hash_in_feeds_config