Skip to content

Commit

Permalink
Merge pull request #355 from mit0za/remove-yay-and-fix-script-for-arch
Browse files Browse the repository at this point in the history
Remove yay and fix script for arch
  • Loading branch information
Z4nzu authored Mar 14, 2023
2 parents b2cf73c + e1463b4 commit 33c399a
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions install.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ if [[ $choice =~ ^[1-2]+$ ]]; then
sudo apt-get install -y git python3-pip figlet boxes php curl xdotool wget -y ;
elif [[ $choice == 2 ]]; then
sudo pacman -Suy -y
sudo pacman -S python-pip-19.1.1-1 yay -y
sudo pacman -S python-pip -y
else
exit
fi
Expand All @@ -93,7 +93,11 @@ if [[ $choice =~ ^[1-2]+$ ]]; then
if sudo git clone https://github.com/Z4nzu/hackingtool.git $install_dir; then
# Install virtual environment
echo -e "${YELLOW}[*] Installing Virtual Environment...${NC}"
sudo apt install python3-venv -y
if [[ $choice == 1 ]]; then
sudo apt install python3-venv -y
elif [[ $choice == 2 ]]; then
echo "Python 3.3+ comes with a module called venv.";
fi
echo "";
# Create a virtual environment for the tool
echo -e "${YELLOW}[*] Creating virtual environment..."
Expand All @@ -108,7 +112,8 @@ if [[ $choice =~ ^[1-2]+$ ]]; then
sudo apt install figlet -y
elif [[ $choice == 2 ]]; then
pip3 install -r $install_dir/requirements.txt
yay -S boxes --noconfirm
sudo -u $SUDO_USER git clone https://aur.archlinux.org/boxes.git && cd boxes
sudo -u $SUDO_USER makepkg -si
sudo pacman -S figlet -y
fi
# Create a shell script to launch the tool
Expand Down

0 comments on commit 33c399a

Please sign in to comment.