tryin oniux from normie install
This commit is contained in:
@@ -111,19 +111,21 @@ if [ ! -z "$1" ]; then
|
|||||||
echo -e "\nexisting oniux found, skipping\n"
|
echo -e "\nexisting oniux found, skipping\n"
|
||||||
else
|
else
|
||||||
echo -e "\nexisting oniux not found, installing\n"
|
echo -e "\nexisting oniux not found, installing\n"
|
||||||
### from main
|
cargo install oniux
|
||||||
echo -e "\ndownloadin oniux code from main branch\n"
|
# echo -e "\nexisting oniux not found, installing\n"
|
||||||
##### niec fast downdoot
|
# ### from main
|
||||||
git clone --recursive --single-branch --depth 1 -b main https://gitlab.torproject.org/tpo/core/oniux /tmp/oniux
|
# echo -e "\ndownloadin oniux code from main branch\n"
|
||||||
cd /tmp/oniux
|
# ##### niec fast downdoot
|
||||||
### build it
|
# git clone --recursive --single-branch --depth 1 -b main https://gitlab.torproject.org/tpo/core/oniux /tmp/oniux
|
||||||
echo -e "\nbuildin and installin oniux\n"
|
# cd /tmp/oniux
|
||||||
cargo build
|
# ### build it
|
||||||
### move it somewhere in PATH
|
# echo -e "\nbuildin and installin oniux\n"
|
||||||
sudo mv ./target/debug/oniux /usr/local/bin/
|
# cargo build
|
||||||
# cleanup
|
# ### move it somewhere in PATH
|
||||||
echo -e "\ncleanan upps\n"
|
# sudo mv ./target/debug/oniux /usr/local/bin/
|
||||||
sudo apt autoremove -y
|
# # cleanup
|
||||||
|
# echo -e "\ncleanan upps\n"
|
||||||
|
# sudo apt autoremove -y
|
||||||
fi
|
fi
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user