Commit 19c89a15 authored by Vitaly Lipatov's avatar Vitaly Lipatov

prescripion.d/i586-wine*: fix removing (ALT bug 39320)

parent 6180a685
......@@ -2,13 +2,20 @@
MAIN=wine-etersoft
[ "$1" != "--run" ] && echo "Install 32 bit $MAIN packages on 64 bit system" && exit
[ "$($DISTRVENDOR -d)" != "ALTLinux" ] && echo "Only ALTLinux is supported" && exit 1
[ "$($DISTRVENDOR -a)" != "x86_64" ] && echo "Only x86_64 is supported" && exit 1
PKGNAMES="lib$MAIN i586-$MAIN i586-lib$MAIN i586-lib$MAIN-gl"
if [ "$1" = "--remove" ] ; then
epm remove $PKGNAMES
exit
fi
[ "$1" != "--run" ] && echo "Install 32 bit $MAIN packages on 64 bit system" && exit
# Устанавливаем wine
epmi lib$MAIN i586-$MAIN i586-lib$MAIN i586-lib$MAIN-gl || exit
epm install $PKGNAMES || exit
# Доставляем пропущенные модули (подпакеты) для установленных 64-битных
epm prescription i586-fix
......@@ -2,13 +2,20 @@
MAIN=wine-vanilla
[ "$1" != "--run" ] && echo "Install 32 bit $MAIN packages on 64 bit system" && exit
[ "$($DISTRVENDOR -d)" != "ALTLinux" ] && echo "Only ALTLinux is supported" && exit 1
[ "$($DISTRVENDOR -a)" != "x86_64" ] && echo "Only x86_64 is supported" && exit 1
PKGNAMES="lib$MAIN i586-$MAIN i586-lib$MAIN i586-lib$MAIN-gl"
if [ "$1" = "--remove" ] ; then
epm remove $PKGNAMES
exit
fi
[ "$1" != "--run" ] && echo "Install 32 bit $MAIN packages on 64 bit system" && exit
# Устанавливаем wine
epmi lib$MAIN i586-$MAIN i586-lib$MAIN i586-lib$MAIN-gl || exit
epm install $PKGNAMES || exit
# Доставляем пропущенные модули (подпакеты) для установленных 64-битных
epm prescription i586-fix
......@@ -2,13 +2,20 @@
MAIN=wine
[ "$1" != "--run" ] && echo "Install 32 bit $MAIN packages on 64 bit system" && exit
[ "$($DISTRVENDOR -d)" != "ALTLinux" ] && echo "Only ALTLinux is supported" && exit 1
[ "$($DISTRVENDOR -a)" != "x86_64" ] && echo "Only x86_64 is supported" && exit 1
PKGNAMES="lib$MAIN i586-$MAIN i586-lib$MAIN i586-lib$MAIN-gl"
if [ "$1" = "--remove" ] ; then
epm remove $PKGNAMES
exit
fi
[ "$1" != "--run" ] && echo "Install 32 bit $MAIN packages on 64 bit system" && exit
# Устанавливаем wine
epmi lib$MAIN i586-$MAIN i586-lib$MAIN i586-lib$MAIN-gl || exit
epm install $PKGNAMES || exit
# Доставляем пропущенные модули (подпакеты) для установленных 64-битных
epm prescription i586-fix
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