MatMoul / archfi

Arch Linux Fast Installer : tutorial installer
GNU General Public License v3.0
2.55k stars 316 forks source link

Syntax error near unexpected token 'newline' #159

Closed winnaingsoe closed 3 years ago

winnaingsoe commented 3 years ago

After Download, run "sh archfi" archfi: line 1: syntax error near unexpected token 'newline' archfi: line 1: '<!DOCTYPE HRML PUBLIC "-//IETF//DTD HTML 2.0//EN>'

MatMoul commented 3 years ago

Are your sure that you doenload is ok? what return cat archfi ?

JamesUNT commented 3 years ago

That's what appear on mine when I tried to execute sh archfi:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML2.0/EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://archfi.sourceforge.net/archfi">here</a></p>
</body></html>
Diamond285970 commented 3 years ago

Try curl -L archfi.sf.net/archfi > archfi.

JamesUNT commented 3 years ago

Now it's working, but I tried this command before and now it's working, something has changed ?