Commit fd61263c authored by eric pellegrini's avatar eric pellegrini
Browse files

Updated the Debian builder script for computing the installed size field

parent 8b0873c4
......@@ -100,5 +100,9 @@ cp -r build/lib.linux-x86_64-2.7/MDANSE ${DEBIAN_DIST_DIR}
cp -r /usr/local/lib/python2.7/dist-packages/Scientific* ${DEBIAN_DIST_DIR}
cp -r /usr/local/lib/python2.7/dist-packages/MMTK* ${DEBIAN_DIST_DIR}
# Compute the Installed-Size field for the debian package
instSize=$(du ${DEBIAN_ROOT_DIR} -b -s | cut -f1)
sed -i "s/Installed-Size:.*/Installed-Size: $((1+(instSize/1024)))/g" BuildServer/Debian/DEBIAN/control
export TMPDIR=.
Supports Markdown
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