Fix packages provides: now new version of package replaces the old one

This commit is contained in:
Eugene Dementiev 2015-09-24 21:37:37 +03:00
parent c6283d1b5a
commit 6791bbd541
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ fi
COMMON_FPM_ARGS="-C $TMP_WORK_DIR --vendor $VENDOR --url $URL --license $LICENSE \
--maintainer $MAINTAINER --after-install $POST_INSTALL_PATH \
--name telegraf --version $VERSION --config-files $CONFIG_ROOT_DIR ."
--name telegraf --provides telegraf --version $VERSION --config-files $CONFIG_ROOT_DIR ."
$rpm_args fpm -s dir -t rpm --description "$DESCRIPTION" $COMMON_FPM_ARGS
if [ $? -ne 0 ]; then
echo "Failed to create RPM package -- aborting."