Skip to content
Snippets Groups Projects
Commit 3442e9e7 authored by Fredy Pulido's avatar Fredy Pulido Committed by Sébastien Blin
Browse files

packaging: fix deploy for oci packages

Change-Id: I40f1407d6f486edf9fd76077cc8133ac31cbe8b6
parent b0835a66
No related branches found
No related tags found
No related merge requests found
...@@ -91,7 +91,7 @@ EOF ...@@ -91,7 +91,7 @@ EOF
####################################### #######################################
## create the manual download folder ## ## create the manual download folder ##
####################################### #######################################
if [ -d packages/${DISTRIBUTION}*_oci ]; then if ls packages/${DISTRIBUTION}*_oci &> /dev/null; then
DISTRIBUTION_MANUAL_DOWNLOAD_FOLDER=$(realpath manual-download)/${DISTRIBUTION} DISTRIBUTION_MANUAL_DOWNLOAD_FOLDER=$(realpath manual-download)/${DISTRIBUTION}
mkdir -p ${DISTRIBUTION_MANUAL_DOWNLOAD_FOLDER} mkdir -p ${DISTRIBUTION_MANUAL_DOWNLOAD_FOLDER}
NAME_PATTERN=jami-all_????????.*\~dfsg*.deb NAME_PATTERN=jami-all_????????.*\~dfsg*.deb
...@@ -103,6 +103,8 @@ EOF ...@@ -103,6 +103,8 @@ EOF
rm -f ${DISTRIBUTION_MANUAL_DOWNLOAD_FOLDER}/${package_shortname} rm -f ${DISTRIBUTION_MANUAL_DOWNLOAD_FOLDER}/${package_shortname}
cp ${package} ${DISTRIBUTION_MANUAL_DOWNLOAD_FOLDER}/${package_shortname} cp ${package} ${DISTRIBUTION_MANUAL_DOWNLOAD_FOLDER}/${package_shortname}
done done
else
echo "WARNING: OCI packages directory not found"
fi fi
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment