Skip to content

Commit a02d83f

Browse files
authored
Update owt.sh
1 parent 7a4cf3c commit a02d83f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

owt.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,8 @@ permissions_prompt
180180
dependencies=(aircrack-ng mdk3)
181181
for d in "${dependencies[*]}"; do
182182
if [ "$(dpkg-query -W -f='${Status}' "$d" 2>/dev/null | grep -c "ok installed")" -eq 0 ]; then
183+
sleep 0.1
184+
else
183185
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)"
184186
read -r r
185187
if [[ "$r" == ["yY"]* ]]; then

0 commit comments

Comments
 (0)