Skip to content

Commit

Permalink
Fixed NITDgpOS#10: Added the option to choose whether to open or not …
Browse files Browse the repository at this point in the history
…the pdf after downloading.
  • Loading branch information
DarkSouL11 committed Nov 16, 2016
1 parent 0315bef commit 332ae64
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 @@ -53,6 +53,8 @@ do
convert *.jpg ../chap$chapno.pdf
echo "Cleaning up....."
cd ..
gnome-open chap$chapno.pdf
if [ "$1" = "-o" ]; then
gnome-open chap$chapno.pdf
fi
rm -rf $chap
done

0 comments on commit 332ae64

Please sign in to comment.