14 lines
290 B
Bash
Executable File
14 lines
290 B
Bash
Executable File
#! /bin/sh
|
|
|
|
set -e
|
|
|
|
if [ "$1" = "remove" ]; then
|
|
|
|
if [ -f /var/lib/python/python3.10_installed ]; then
|
|
rm -f /var/lib/python/python3.10_installed
|
|
rmdir --ignore-fail-on-non-empty /var/lib/python 2>/dev/null
|
|
fi
|
|
|
|
rmdir --parents /usr/local/lib/python3.10 2>/dev/null || true
|
|
fi
|