Commit cc392948 authored by Vitaly Lipatov's avatar Vitaly Lipatov

add prescription for i586-remove

parent 91873d6a
#!/bin/sh
[ "$1" != "--run" ] && echo "Remove all 32 bit packages from 64 bit system" && exit
[ "$($DISTRVENDOR -a)" != "x86_64" ] && echo "Only x86_64 is supported" && exit 1
case "$($DISTRVENDOR -d)" in
"ALTLinux")
epm --verbose --simulate remove $(epmqp "^i586-")
;;
"Ubuntu"|"Debian")
epm --verbose --simulate remove $(epmqp "^i386-")
;;
*)
fatal "unsupported vendor"
;;
esac
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