Skip to content

Commit

Permalink
change the release name to version number and reuse existing files
Browse files Browse the repository at this point in the history
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
  • Loading branch information
richardyu authored and richardyu-ms committed Jul 25, 2022
1 parent 9978f19 commit 0295e9b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
14 changes: 7 additions & 7 deletions debian/copy_installer.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
if [[ x"$1" =~ x"v2" ]]
then
echo "Copy python-saithriftv2.install as python-saithrift.install"
cp ./debian/installerFiles/python-saithriftv2.install ./debian/python-saithrift.install
echo "Copy python3-saithrift.install as python-saithrift.install"
cp ./debian/installerFiles/python3-saithrift.install ./debian/python-saithrift.install
else
if test -n "lsb_release -a | grep bullseye"
if [ $(lsb_release -sr) -ge 11 ]
then
echo "Copy python-saithriftv1-bullseye.install as python-saithrift.install"
cp ./debian/installerFiles/python-saithriftv1-bullseye.install ./debian/python-saithrift.install
echo "Copy python3-saithrift.install as python-saithrift.install after Ver.11 releases"
cp ./debian/installerFiles/python3-saithrift.install ./debian/python-saithrift.install
else
echo "Copy python-saithriftv1.install as python-saithrift.install"
cp ./debian/installerFiles/python-saithriftv1.install ./debian/python-saithrift.install
echo "Copy python2.7-saithrift.install as python-saithrift.install"
cp ./debian/installerFiles/python2.7-saithrift.install ./debian/python-saithrift.install
fi
fi
1 change: 0 additions & 1 deletion debian/installerFiles/python-saithriftv2.install

This file was deleted.

2 changes: 2 additions & 0 deletions debian/installerFiles/python3-saithrift.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#compatiable with bullseye python 3.9 environment and saithriftv2 build with python3
debian/usr/local/lib/python3*/site-packages/* /usr/lib/python3/dist-packages/

0 comments on commit 0295e9b

Please sign in to comment.