Closed pickfire closed 10 years ago
You cant use sh. just use wget https://github.com/kingspp/Raspberry-Pi-AUI/blob/master/aui-setup.sh chmod +x aui-setup.sh ./aui-setup.sh
wget works flawlessly in my pi
No, I doesn't work in my pi when I wget https://github.com/kingspp/Raspberry-Pi-AUI/blob/master/aui-setup.sh
and head aui-setup.sh:
<!DOCTYPE html>
<html lang="en" class="">
<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# object: http://ogp.me/ns/object# article: http://ogp.me/ns/article# profile: http://ogp.me/ns/profile#">
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="Content-Language" content="en">
try pacman -Syu wget and then use the command
After pacman -Syu
it is still the same the the log is:
--2014-10-20 09:35:46-- https://github.com/kingspp/Raspberry-Pi-AUI/blob/master/aui-setup.sh
Resolving github.com (github.com)... 192.30.252.129
Connecting to github.com (github.com)|192.30.252.129|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: 'aui-setup.sh'
[ <=> ] 46,847 81.6KB/s in 0.6s
2014-10-20 09:35:48 (81.6 KB/s) - 'aui-setup.sh' saved [46847]
aui-setup is saved from the log. Use 'ls' to view the list of files present.
This is what ls
get:
ivan@alarm ~ $ ls
Desktop Raspberry-Pi-AUI-master aui-setup.sh
And file aui-setup.sh
shows:
aui-setup.sh: HTML document, UTF-8 Unicode text, with very long lines
file aui-setup.sh ::output:: aui-setup.sh: HTML document, UTF-8 Unicode text, with very long lines
Now execute chmod +x aui-setup.sh ./aui-setup.sh
After file aui-setup.sh
, chmod +x aui-setup.sh
:
I do file aui-setup.sh
:
aui-setup.sh: HTML document, UTF-8 Unicode text, with very long lines
And when I ./aui-setup.sh
:
./aui-setup.sh: line 5: syntax error near unexpected token `newline'
./aui-setup.sh: line 5: `<!DOCTYPE html>'
I think it would be better to:
sudo pacman -Syu git
git clone https://github.com/kingspp/Raspberry-Pi-AUI/
sudo Raspberry-Pi-AUI/AUI/archi.sh
To get a newer version:
cd Raspberry-Pi-AUI
git pull https://github.com/kingspp/Raspberry-Pi-AUI/
doesn't work and just copy the whole html