tryin oniux from normie install

This commit is contained in:
2025-12-17 04:50:26 -07:00
parent cdd7421c2f
commit 12b710a249
+15 -13
View File
@@ -111,19 +111,21 @@ if [ ! -z "$1" ]; then
echo -e "\nexisting oniux found, skipping\n"
else
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
cargo install oniux
# 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
else