From 835dc517acc4464f7642c4a0454267952f0ae741 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Tue, 16 Dec 2025 20:26:49 -0700 Subject: [PATCH] 1765942009 --- customscripts/install_script.sh | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/customscripts/install_script.sh b/customscripts/install_script.sh index b781b94..b9cc328 100644 --- a/customscripts/install_script.sh +++ b/customscripts/install_script.sh @@ -96,24 +96,24 @@ if [ ! -z "$1" ]; then ## oniux echo -e "\nINSTALLIN TOR ONIUX\n" if [ -f /usr/local/bin/oniux ]; then - echo -e "\nexisting oniux found, deleting and rebuilding\n" - sudo rm -f /usr/local/bin/oniux + echo -e "\nexisting oniux found, skipping\n" else - echo -e "\nexisting oniux not found, skipping delete\n" + echo -e "\nexisting oniux not found, installing\n" + ### from main + echo -e "\ndownloadin oniux code from main branch\n" + ##### niec fast downdoot + git clone --recursive --single-branch --depth 1 -b main https://gitlab.torproject.org/tpo/core/oniux /tmp/oniux + cd /tmp/oniux + ### build it + echo -e "\nbuildin and installin oniux\n" + cargo build + ### move it somewhere in PATH + sudo mv ./target/debug/oniux /usr/local/bin/ + # cleanup + echo -e "\ncleanan upps\n" + sudo apt autoremove -y fi - ### from main - echo -e "\ndownloadin oniux code from main branch\n" - ##### niec fast downdoot - git clone --recursive --single-branch --depth 1 -b main https://gitlab.torproject.org/tpo/core/oniux /tmp/oniux - cd /tmp/oniux - ### build it - echo -e "\nbuildin and installin oniux\n" - cargo build - ### move it somewhere in PATH - sudo mv ./target/debug/oniux /usr/local/bin/ - # cleanup - echo -e "\ncleanan upps\n" - sudo apt autoremove -y + else echo -e "\nskipping package install\n" fi