tee and echo -e
This commit is contained in:
parent
cc8c943e2a
commit
2a0c7d996f
2
copy.sh
2
copy.sh
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue