Ubuntu中安装installer3.1失败 help !
时间:10-02
整理:3721RD
点击:
安装installer3.0:
1) ./setup.sh 失败,显示(bash:./setup.sh: /bin/csh: 坏的解释器:权限不够);
2)安装好了c-shell(apt-get install csh),用root登陆,chmod也试过了,还是显示和1)一样的错误;
3)尝试直接bash setup.sh 显示错误:(行 30: 语法错误:未预期的文件结尾)
1) ./setup.sh 失败,显示(bash:./setup.sh: /bin/csh: 坏的解释器:权限不够);
2)安装好了c-shell(apt-get install csh),用root登陆,chmod也试过了,还是显示和1)一样的错误;
3)尝试直接bash setup.sh 显示错误:(行 30: 语法错误:未预期的文件结尾)
大神么教教新手呗,help
#! /bin/csh -f
if ( ! $?DISPLAY ) then
echo ""
echo "Note: The DISPLAY environment variable is not set."
echo " Set this variable to proceed with the graphical"
echo " installation."
echo ""
exit 1
endif
set cmdpath = "$0"
set cmd = "$cmdpath:t"
if ( "$cmd" == "$cmdpath" ) then
set cddir = "."
else
set cddir = "$cmdpath:h"
endif
set cddir_path = $cddir
if ( $cddir_path == "." ) then
set cddir_path = `pwd`
endif
$cddir_path/installer -gui $argv
三楼是贴出来的setup.sh的脚本内容,大神们帮我看看有什么错误
别沉啊,亲
good post brother!
I had overcome the problem
