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

packaging: fix deploy for manual packages

This commit change de deploy policy, instead of deploy all the .deb
packages we will deploy just the one-click-install packages and we will
do a copy with a shortname, example ring-all_amd64.deb.

Change-Id: I4587bf76245e15f794b3c1d96735d5599be44503
parent a9db0894
No related branches found
No related tags found
No related merge requests found
......@@ -93,11 +93,17 @@ EOF
#######################################
DISTRIBUTION_MANUAL_DOWNLOAD_FOLDER=$(realpath manual-download)/${DISTRIBUTION}
mkdir -p ${DISTRIBUTION_MANUAL_DOWNLOAD_FOLDER}
for package in packages/${DISTRIBUTION}*/*.deb; do
cp ${package} ${DISTRIBUTION_MANUAL_DOWNLOAD_FOLDER}
ls packages/${DISTRIBUTION}
# packages with dfsg1-0 contains the postinstall script that adds the repository
# FIXME as soon as we rename the package from ring to jami change the name here.
cp packages/${DISTRIBUTION}*/ring-all_????????.?.*\~dfsg1-0_*.deb ${DISTRIBUTION_MANUAL_DOWNLOAD_FOLDER}
for package in ${DISTRIBUTION_MANUAL_DOWNLOAD_FOLDER}/*; do
package_name=$(dpkg -I ${package} | grep -m 1 Package: | awk '{print $2}')
package_arch=$(dpkg -I ${package} | grep -m 1 Architecture: | awk '{print $2}')
cp ${package} ${DISTRIBUTION_MANUAL_DOWNLOAD_FOLDER}/${package_name}_${package_arch}.deb
package_linkname=${package_name}_${package_arch}.deb
cd ${DISTRIBUTION_MANUAL_DOWNLOAD_FOLDER}
cp ${package} ${package_linkname}
cd -
done
}
......
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