From 2a0c7d996f3c41c63d7aab76fdf9176af3cb4a0d Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Sat, 24 Feb 2024 13:04:01 -0500 Subject: [PATCH] tee and echo -e --- copy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copy.sh b/copy.sh index 6cc38c0..1e77c1b 100755 --- a/copy.sh +++ b/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