You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was setting up nanorc for my newer install on office machine, and I went with the installation script with curl.
However, since I hadn't installed wget on the system, the installation script failed:
➜ curl https://raw.githubusercontent.com/scopatz/nanorc/master/install.sh | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1177 100 1177 0 0 1693 0 --:--:-- --:--:-- --:--:-- 1691
main: line 10: wget: command not found
unzip: cannot find or open /tmp/nanorc.zip, /tmp/nanorc.zip.zip or /tmp/nanorc.zip.ZIP.
mv: cannot stat 'nanorc-master/*': No such file or directory
rm: cannot remove '/tmp/nanorc.zip': No such file or directory
main: line 20: /home/hjpotter92/.nano/nanorc: No such file or directory
The installer should switch between curl or wget accordingly, and it should fail as early as possible. In the output above, it can be seen that despite wget not being found, the installer still attempts to unzip/mv/rm as if previous stages were successful.
The text was updated successfully, but these errors were encountered:
I was setting up nanorc for my newer install on office machine, and I went with the installation script with curl.
However, since I hadn't installed wget on the system, the installation script failed:
The installer should switch between curl or wget accordingly, and it should fail as early as possible. In the output above, it can be seen that despite
wget
not being found, the installer still attempts to unzip/mv/rm as if previous stages were successful.The text was updated successfully, but these errors were encountered: