Bash oopsies
Steam ran rm -rf /*
Here’s the bug report on GitHub. The issue is caused by this bit of code:
STEAMROOT="$(cd "${0%/*}" && echo $PWD)"
rm -rf "$STEAMROOT/"*
If $STEAMROOT
ends up evaluating to an empty string, the command becomes rm -rf "/"*
.
Bumblebee ran rm -rf /usr
Here’s the bug report on GitHub. The issue is caused by an extra space:
rm -rf /usr /lib/nvidia-current/xorg/xorg