mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-08 11:53:25 +00:00
python(2): remove easy_install in prerm
This commit is contained in:
committed by
Fredrik Fornwall
parent
de89bd2bc9
commit
3af95bb483
@@ -96,8 +96,8 @@ termux_step_create_debscripts () {
|
||||
echo "find $TERMUX_PREFIX/lib/python${_MAJOR_VERSION} -depth -name __pycache__ -exec rm -rf {} \;" >> prerm
|
||||
# Remove contents of site-packages/ folder:
|
||||
echo "rm -Rf $TERMUX_PREFIX/lib/python${_MAJOR_VERSION}/site-packages/*" >> prerm
|
||||
# Remove bin/pip (and bin/pip3* variants) installed by ensurepip in postinst:
|
||||
echo "rm -f $TERMUX_PREFIX/bin/pip $TERMUX_PREFIX/bin/pip3*" >> prerm
|
||||
# Remove pip and easy_install installed by ensurepip in postinst:
|
||||
echo "rm -f $TERMUX_PREFIX/bin/pip $TERMUX_PREFIX/bin/pip3* $TERMUX_PREFIX/bin/easy_install $TERMUX_PREFIX/bin/easy_install-3*" >> prerm
|
||||
|
||||
echo "exit 0" >> postinst
|
||||
echo "exit 0" >> prerm
|
||||
|
||||
Reference in New Issue
Block a user