Commit 45a3af1f authored by Bernhard Landauer's avatar Bernhard Landauer

adjust pkg_upload()

parent 16159adc
......@@ -185,9 +185,9 @@ checksum_img() {
pkg_upload() {
msg "Uploading package(s) to server..."
info "Please use your server login details..."
for p in $PACKAGE
do
scp ./"$p"* $SERVER:/opt/repo/mirror/stable/$ARCH/$REPO/
for p in ${PACKAGE[@]}; do
pkg=$(find_pkg $p)
scp "$pkg" "$SERVER:/opt/repo/mirror/stable/$ARCH/$REPO/"
# msg "Adding [$p] to repo..."
# info "Please use your server login details..."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment