|
|
|
|
|
by NekkoDroid
2 days ago
|
|
I really hate the `curl <url> | sh` specifically because if your connection drops at a specifically unlucky point in time you are left with a partially executed script which if you are unlucky enough may just have been executing `rm -r ~/.cache/<pkg>/download` but it stopped at `rm-r ~/`. Is it likely? No. Can it happen? Yea. Just make it `curl -o <file> <url> && sh <file>` and this entire problem is gone. |
|