mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-28 16:14:21 +02:00
fix perm
This commit is contained in:
parent
cbfaf87d67
commit
811a9f36ad
@ -1,10 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
set -ex
|
||||||
|
|
||||||
VERSION="$3"
|
VERSION="$3"
|
||||||
BULLSEYEPACKAGES=`echo *.deb`
|
BULLSEYEPACKAGES=`echo *.deb`
|
||||||
|
|
||||||
for i in $BULLSEYEPACKAGES
|
for i in $BULLSEYEPACKAGES
|
||||||
do
|
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"
|
curl -u \"$1:$2\" -H "Content-Type: multipart/form-data" --data-binary \"@/$i\" "https://apt.centreon.com/repository/$VERSION"
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user