From ef8122e4018841ebf0e3b1ba53aaea18e0d9115b Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Sun, 2 Nov 2025 07:38:05 -0700 Subject: [PATCH] rifle buss --- customscripts/install_script.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/customscripts/install_script.sh b/customscripts/install_script.sh index 54cb236..039116c 100644 --- a/customscripts/install_script.sh +++ b/customscripts/install_script.sh @@ -94,9 +94,18 @@ if [ ! -z "$1" ]; then # cargo ## 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 + else + echo -e "\nexisting oniux not found, skipping delete\n" + fi + ### from main branch git clone --recursive https://gitlab.torproject.org/tpo/core/oniux -b main /tmp/oniux cd /tmp/oniux + ### build it cargo build + ### move it somewhere in PATH sudo mv ./target/debug/oniux /usr/local/bin/ # cleanup echo -e "\ncleanan upps\n"