File: 70-python-build

package info (click to toggle)
python-diskimage-builder 3.37.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,572 kB
  • sloc: sh: 7,380; python: 6,444; makefile: 37
file content (15 lines) | stat: -rwxr-xr-x 324 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

if [ ${DIB_DEBUG_TRACE:-0} -gt 1 ]; then
    set -x
fi
set -eu
set -o pipefail

DIB_PYTHON_FILES=('/usr/local/bin/pyenv-install', \
    '/usr/local/bin/pyenv-uninstall', '/usr/local/bin/python-build', \
    '/usr/local/share/python-build', '/pyenv')

for path in ${DIB_PYTHON_FILES}; do
    rm -rf ${path}
done