From cc8c943e2ad81569c28118561d6aec35a0d7c19f Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Sat, 24 Feb 2024 12:59:24 -0500 Subject: [PATCH] Add global sofi launcher to copy.sh --- copy.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/copy.sh b/copy.sh index bc21e94..6cc38c0 100755 --- a/copy.sh +++ b/copy.sh @@ -11,6 +11,11 @@ if ! command -v wget &> /dev/null; then exit 1 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 + sudo chmod +x /usr/bin/sofi +fi + git submodule init git submodule update