Skip to content

Commit

Permalink
Fixed NITDgpOS#10: Option to choose whether to open or not the pdf af…
Browse files Browse the repository at this point in the history
…ter downloading.
  • Loading branch information
DarkSouL11 committed Nov 16, 2016
1 parent fac6142 commit c149c78
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion downloader.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ do
path=$(pwd)
echo -e "Your downloaded file is in this path:\n" $path
cd ..
gnome-open chap$chapno.pdf
if [ "$1" = "-o" ]; then
gnome-open chap$chapno.pdf
fi
rm -rf $chap
done

0 comments on commit c149c78

Please sign in to comment.