mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
ci/cd - remove old linux packages before building
This commit is contained in:
parent
4244399eb1
commit
469a5343ec
1 changed files with 3 additions and 0 deletions
|
|
@ -47,6 +47,9 @@ if [ -d /tmp/packages ] ; then
|
|||
fi
|
||||
do_and_check_cmd mkdir /tmp/packages
|
||||
|
||||
# Remove old packages
|
||||
find /opt/packages/ -type f | xargs rm
|
||||
|
||||
# Generate packages
|
||||
echo "Building ubuntu package ..."
|
||||
gen_package "$1" "ubuntu"
|
||||
|
|
|
|||
Loading…
Reference in a new issue