Commit c53f6781 authored by Vitaly Lipatov's avatar Vitaly Lipatov

small fixes fo prescription scripts

parent e3186389
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
[ "$1" != "--run" ] && echo "Uninstall etersoft build of glibc" && exit [ "$1" != "--run" ] && echo "Uninstall etersoft build of glibc" && exit
[ "$(distro_info -d" != "ALTLinux" ] && echo "Only ALTLinux is supported" && exit 1 [ "$(distro_info -d)" != "ALTLinux" ] && echo "Only ALTLinux is supported" && exit 1
echo "TODO" echo "TODO"
exit 1 exit 1
......
...@@ -2,11 +2,12 @@ ...@@ -2,11 +2,12 @@
[ "$1" != "--run" ] && echo "Install glusterfs7 (or upgrade from glusterfs6)" && exit [ "$1" != "--run" ] && echo "Install glusterfs7 (or upgrade from glusterfs6)" && exit
[ "$(distro_info -d" != "ALTLinux" ] && echo "Only ALTLinux is supported" && exit 1 [ "$(distro_info -d)" != "ALTLinux" ] && echo "Only ALTLinux is supported" && exit 1
if epmqp --quiet glusterfs6- ; then if epmqp --quiet glusterfs6- ; then
# Upgrade if was installed # Upgrade if was installed
epmi $(epmqp --short glusterfs6 | sed -e "s|fs6|fs7|") glusterfs6- glusterfs6-client- python3-module-glusterfs6- epmi $(epmqp --short glusterfs6 | sed -e "s|fs6|fs7|") glusterfs6- glusterfs6-client- python3-module-glusterfs6-
epm installed glusterfs7-server && serv glusterd on
else else
# Install all packages # Install all packages
epmi glusterfs7-cli glusterfs7-client glusterfs7 epmi glusterfs7-cli glusterfs7-client glusterfs7
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
[ "$1" != "--run" ] && echo "Install glusterfs8 (or upgrade from glusterfs7)" && exit [ "$1" != "--run" ] && echo "Install glusterfs8 (or upgrade from glusterfs7)" && exit
[ "$(distro_info -d" != "ALTLinux" ] && echo "Only ALTLinux is supported" && exit 1 [ "$(distro_info -d)" != "ALTLinux" ] && echo "Only ALTLinux is supported" && exit 1
GFSOLD=glusterfs7 GFSOLD=glusterfs7
GFSNEW=glusterfs8 GFSNEW=glusterfs8
...@@ -10,6 +10,7 @@ GFSNEW=glusterfs8 ...@@ -10,6 +10,7 @@ GFSNEW=glusterfs8
if epmqp --quiet ${GFSOLD}- ; then if epmqp --quiet ${GFSOLD}- ; then
# Upgrade if was installed # Upgrade if was installed
epmi $(epmqp --short $GFSOLD | grep -v rdma | sed -e "s|$GFSOLD|$GFSNEW|") ${GFSOLD}- ${GFSOLD}-client- python3-module-${GFSOLD}- epmi $(epmqp --short $GFSOLD | grep -v rdma | sed -e "s|$GFSOLD|$GFSNEW|") ${GFSOLD}- ${GFSOLD}-client- python3-module-${GFSOLD}-
epm installed $GFSNEW-server && serv glusterd on
else else
# Install all packages # Install all packages
epmi ${GFSNEW}-cli ${GFSNEW}-client ${GFSNEW} epmi ${GFSNEW}-cli ${GFSNEW}-client ${GFSNEW}
......
...@@ -4,7 +4,7 @@ MAIN=wine-etersoft ...@@ -4,7 +4,7 @@ MAIN=wine-etersoft
[ "$1" != "--run" ] && echo "Install 32 bit $MAIN packages on 64 bit system" && exit [ "$1" != "--run" ] && echo "Install 32 bit $MAIN packages on 64 bit system" && exit
[ "$(distro_info -d" != "ALTLinux" ] && echo "Only ALTLinux is supported" && exit 1 [ "$(distro_info -d)" != "ALTLinux" ] && echo "Only ALTLinux is supported" && exit 1
# Устанавливаем wine # Устанавливаем wine
epmi lib$MAIN i586-$MAIN i586-lib$MAIN i586-lib$MAIN-gl epmi lib$MAIN i586-$MAIN i586-lib$MAIN i586-lib$MAIN-gl
......
...@@ -4,7 +4,7 @@ MAIN=wine-vanilla ...@@ -4,7 +4,7 @@ MAIN=wine-vanilla
[ "$1" != "--run" ] && echo "Install 32 bit $MAIN packages on 64 bit system" && exit [ "$1" != "--run" ] && echo "Install 32 bit $MAIN packages on 64 bit system" && exit
[ "$(distro_info -d" != "ALTLinux" ] && echo "Only ALTLinux is supported" && exit 1 [ "$(distro_info -d)" != "ALTLinux" ] && echo "Only ALTLinux is supported" && exit 1
# Устанавливаем wine # Устанавливаем wine
epmi lib$MAIN i586-$MAIN i586-lib$MAIN i586-lib$MAIN-gl epmi lib$MAIN i586-$MAIN i586-lib$MAIN i586-lib$MAIN-gl
......
...@@ -4,7 +4,7 @@ MAIN=wine ...@@ -4,7 +4,7 @@ MAIN=wine
[ "$1" != "--run" ] && echo "Install 32 bit $MAIN packages on 64 bit system" && exit [ "$1" != "--run" ] && echo "Install 32 bit $MAIN packages on 64 bit system" && exit
[ "$(distro_info -d" != "ALTLinux" ] && echo "Only ALTLinux is supported" && exit 1 [ "$(distro_info -d)" != "ALTLinux" ] && echo "Only ALTLinux is supported" && exit 1
# Устанавливаем wine # Устанавливаем wine
epmi lib$MAIN i586-$MAIN i586-lib$MAIN i586-lib$MAIN-gl epmi lib$MAIN i586-$MAIN i586-lib$MAIN i586-lib$MAIN-gl
......
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