mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
release: pbuilder: update base package every 3 days
This commit is contained in:
parent
c1c512766d
commit
8b3988f78c
5
release
5
release
@ -91,10 +91,13 @@ else
|
||||
export SET_BUILDRESULT=${SET_BUILDRESULT:=$CURDIR/..}
|
||||
. $CURDIR/debian/.pbuilderrc
|
||||
if [[ -n "$FORCE_PBUILDER_CREATE" || ! -e "$BASETGZ" ]] ; then
|
||||
echo Creating base system $BASETGZ
|
||||
sudo --preserve-env pbuilder create --configfile $CURDIR/debian/.pbuilderrc $PBUILDER_OPT
|
||||
fi
|
||||
|
||||
if [[ -n "$PBUILDER_UPDATE" ]] ; then
|
||||
# Update every 3 days (60*24*3 minutes)
|
||||
if [[ -n "$PBUILDER_UPDATE" ]] || test `find "$BASETGZ" -mmin +4320` ; then
|
||||
echo Updating base system $BASETGZ
|
||||
sudo --preserve-env pbuilder update --configfile $CURDIR/debian/.pbuilderrc $PBUILDER_OPT
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user