Commit d255c751 authored by Vitaly Lipatov's avatar Vitaly Lipatov

fix var name

parent e7ddc458
...@@ -140,11 +140,11 @@ drop_pkg_extensions() ...@@ -140,11 +140,11 @@ drop_pkg_extensions()
# args: distr_vendor [interactive] # args: distr_vendor [interactive]
get_install_package_command() get_install_package_command()
{ {
local DISTRVENDOR=$1 local VENDORNAME=$1
local INAC=$2 local INAC=$2
local CMD local CMD
local RET=0 local RET=0
case $DISTRVENDOR in case $VENDORNAME in
"ALTLinux"|"Ubuntu"|"Debian"|"PCLinux") "ALTLinux"|"Ubuntu"|"Debian"|"PCLinux")
[ -n "$INAC" ] && CMD="apt-get install" || CMD="apt-get -y --force-yes install" [ -n "$INAC" ] && CMD="apt-get install" || CMD="apt-get -y --force-yes install"
;; ;;
...@@ -159,7 +159,7 @@ get_install_package_command() ...@@ -159,7 +159,7 @@ get_install_package_command()
;; ;;
*) *)
RET=1 RET=1
CMD="echo \"Do not known install command for DISTRVENDOR $DISTRVENDOR\"" CMD="echo \"Do not known install command for VENDORNAME $VENDORNAME\""
;; ;;
esac esac
echo $CMD echo $CMD
......
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