Projet

Général

Profil

0001-debianize-getlasso3.sh-55974.patch

Thomas Noël, 04 août 2021 15:19

Télécharger (1,05 ko)

Voir les différences:

Subject: [PATCH] debianize getlasso3.sh (#55974)

 roles/base/templates/getlasso.j2 | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
roles/base/templates/getlasso.j2
3 3
# Get venv site-packages path
4 4
DSTDIR=`{{virtualenv_python}} -c 'from distutils.sysconfig import get_python_lib; print(get_python_lib())'`
5 5

  
6
SRCDIR=`{{system_python}} -c 'from distutils.sysconfig import get_python_lib; print(get_python_lib())'`
7

  
8 6
# Clean up
9 7
rm -f $DSTDIR/lasso.*
10 8
rm -f $DSTDIR/_lasso.*
11 9

  
12 10
# Link
13
ln -sv $SRCDIR/lasso.py $DSTDIR
14
ln -sv $SRCDIR/_lasso.* $DSTDIR
11
ln -sv /usr/lib/python3/dist-packages/lasso.py $DSTDIR/
12
for SOFILE in /usr/lib/python3/dist-packages/_lasso.cpython-*.so
13
do
14
  ln -sv $SOFILE $DSTDIR/
15
done
15 16

  
16 17
exit 0
17

  
18
-