9 lines
240 B
Bash
9 lines
240 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
DEB_REPO=${DEB_REPO:-"https://nexus.connectone.pro/repository/radius/"}
|
|
|
|
for file in *.deb
|
|
do
|
|
curl -u "${DEB_USER}:${DEB_PASS}" -H "Content-Type: multipart/form-data" --data-binary "@./$file" "${DEB_REPO}"
|
|
done; # file |