ubuntu7.10中安装samsung565f 打印机时候遇到了问题,install.sh文件不能正常打开。
总是出现:
root@dynhan-desktop:/media/sda5/tools/samsung/cdroot/linux# sudo ./install.sh
./install.sh: 1232: source: not found
ERROR: HARDWARE_PLATFORM undefined, execution aborted
根据网上:http://ubuntuforums.org/showthread.php?t=341621
别的方法都试过了,只有编辑install.sh了。
e. change the first line from "#/bin/sh" to "#/bin/bash"
这就是问题的关键!最终顺利安装。