* fix: don't attempt to overwrite influxdb installs * fix: don't attempt to overwrite influxdb installs
This commit is contained in:
@ -80,15 +80,6 @@ fpm_wrapper()
|
|||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case ${1} in
|
|
||||||
rpm)
|
|
||||||
REPLACES='influxdb < 2.1.0'
|
|
||||||
;;
|
|
||||||
deb)
|
|
||||||
REPLACES='influxdb (<< 2.1.0)'
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
fpm \
|
fpm \
|
||||||
--log error \
|
--log error \
|
||||||
`# package description` \
|
`# package description` \
|
||||||
@ -98,7 +89,6 @@ fpm_wrapper()
|
|||||||
--url https://influxdata.com \
|
--url https://influxdata.com \
|
||||||
--maintainer support@influxdb.com \
|
--maintainer support@influxdb.com \
|
||||||
--license MIT \
|
--license MIT \
|
||||||
--replaces "${REPLACES}" \
|
|
||||||
`# package configuration` \
|
`# package configuration` \
|
||||||
--input-type dir \
|
--input-type dir \
|
||||||
--output-type "${1}" \
|
--output-type "${1}" \
|
||||||
|
Reference in New Issue
Block a user