Skip to content

Commit

Permalink
Update owt.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
clu3bot authored Mar 3, 2021
1 parent 7a4cf3c commit a02d83f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions owt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ permissions_prompt
dependencies=(aircrack-ng mdk3)
for d in "${dependencies[*]}"; do
if [ "$(dpkg-query -W -f='${Status}' "$d" 2>/dev/null | grep -c "ok installed")" -eq 0 ]; then
sleep 0.1
else
echo -e "${LBLUE}The following packages must be installed for the script to run...\n${LRED}${d}\n${LBLUE}Would you like to install them now? (Y/N)"
read -r r
if [[ "$r" == ["yY"]* ]]; then
Expand Down

0 comments on commit a02d83f

Please sign in to comment.