Skip to content

Commit

Permalink
FIX: IF NOT EXIST DIR #90
Browse files Browse the repository at this point in the history
  • Loading branch information
anouarbensaad committed Jun 10, 2022
1 parent 7830bb9 commit 02bda3f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ function debianOS(){
echo -e "#!/bin/bash
python3 /usr/share/vulnx/vulnx.py" '${1+"$@"}' > "vulnx";
chmod +x "vulnx";
if [[ ! -d "/usr/share/vulnx" ]];then
sudo mkdir "/usr/share/vulnx"
fi
sudo cp "install.sh" "/usr/share/vulnx"
sudo cp "update.sh" "/usr/share/vulnx"
sudo cp -r "./common" "/usr/share/vulnx/"
Expand Down

0 comments on commit 02bda3f

Please sign in to comment.