Commit bc1ead9a authored by Vitaly Lipatov's avatar Vitaly Lipatov

add prescription python2-remove

parent 76fd78f8
#!/bin/sh
[ "$1" != "--run" ] && echo "Remove all possible python2 packages" && exit
[ "$($DISTRVENDOR -d)" != "ALTLinux" ] && echo "Only ALTLinux is supported" && exit 1
PACKAGES="$(epm qp python-module)"
[ -n "$PACKAGES" ] || { echo "All python2 packages are already removed" ; exit 0 ; }
epm remove $PACKAGES
epm remove python2-base
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment