fix: ci
This commit is contained in:
parent
9257b662ac
commit
05581cf104
1 changed files with 3 additions and 3 deletions
|
@ -53,11 +53,11 @@ jobs:
|
|||
gzip -9n package/debian/prometheus-tlsrpt-exporter/usr/share/doc/prometheus-tlsrpt-exporter/changelog
|
||||
mkdir -p package/debian/prometheus-tlsrpt-exporter/usr/share/prometheus-tlsrpt-exporter
|
||||
cp -r templates/ package/debian/prometheus-tlsrpt-exporter/usr/share/prometheus-tlsrpt-exporter/templates/
|
||||
python3 setup.py egg_info install --root=package/debian/prometheus-tlsrpt-exporter/ --prefix=/usr --optimize=1
|
||||
python3 setup.py egg_info install --root=package/debian/prometheus-tlsrpt-exporter/ --prefix=/usr/local --optimize=1
|
||||
cd package/debian
|
||||
mkdir -p prometheus-tlsrpt-exporter/usr/lib/python3/dist-packages/
|
||||
rsync -a prometheus-tlsrpt-exporter/usr/lib/python3.11/site-packages/ prometheus-tlsrpt-exporter/usr/lib/python3/dist-packages/
|
||||
rm -rf prometheus-tlsrpt-exporter/usr/lib/python3.11/
|
||||
rsync -a prometheus-tlsrpt-exporter/usr/local/lib/python3.11/dist-packages/ prometheus-tlsrpt-exporter/usr/lib/python3/dist-packages/
|
||||
rm -rf prometheus-tlsrpt-exporter/usr/local/lib/python3.11/
|
||||
find prometheus-tlsrpt-exporter/usr/lib/python3/dist-packages -name __pycache__ -exec rm -r {} \; 2>/dev/null || true
|
||||
find prometheus-tlsrpt-exporter/usr/lib/python3/dist-packages -name '*.pyc' -exec rm {} \;
|
||||
sed -re 's$#!/usr/local/bin/python3$#!/usr/bin/python3$' -i prometheus-tlsrpt-exporter/usr/bin/prometheus-tlsrpt-exporter
|
||||
|
|
Loading…
Reference in a new issue