tee and echo -e

This commit is contained in:
Sage Vaillancourt 2024-02-24 13:04:01 -05:00
parent cc8c943e2a
commit 2a0c7d996f
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ if ! command -v wget &> /dev/null; then
fi
if ! command -v sofi &> /dev/null && ! test -f /usr/bin/sofi; then
sudo echo '#!/bin/bash\n$HOME/.sofi.sh --launch' > /usr/bin/sofi
echo -e '#!/bin/bash\n$HOME/.sofi.sh --launch' | sudo tee /usr/bin/sofi
sudo chmod +x /usr/bin/sofi
fi