Fix packages provides: now new version of package replaces the old one
This commit is contained in:
parent
c6283d1b5a
commit
6791bbd541
|
@ -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."
|
||||
|
|
Loading…
Reference in New Issue