This commit is contained in:
Zakaria Guennoune 2022-04-14 11:48:05 +02:00
parent cbfaf87d67
commit 811a9f36ad
1 changed files with 2 additions and 1 deletions

View File

@ -1,10 +1,11 @@
#!/bin/bash
set -ex
VERSION="$3"
BULLSEYEPACKAGES=`echo *.deb`
for i in $BULLSEYEPACKAGES
do
echo "Sending $i\n"
echo "Sending $i"
curl -u \"$1:$2\" -H "Content-Type: multipart/form-data" --data-binary \"@/$i\" "https://apt.centreon.com/repository/$VERSION"
done