pandoc now optional

This commit is contained in:
Luke Smith 2018-03-02 09:13:15 -07:00
parent 23551ec673
commit d58aa68c3e

View File

@ -39,6 +39,7 @@ options=(1 "LaTeX packages" off
6 "Fonts for unicode and other languages" off 6 "Fonts for unicode and other languages" off
7 "Transmission torrent client" off 7 "Transmission torrent client" off
8 "Music visualizers and decoration" off 8 "Music visualizers and decoration" off
9 "Pandoc for document management" off
) )
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty) choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
echo $choices > /tmp/.choices echo $choices > /tmp/.choices
@ -132,8 +133,7 @@ pacman --noconfirm --needed -Sy \
tmux \ tmux \
rofi \ rofi \
poppler \ poppler \
mupdf \ mupdf || (red Error installing productivity packages. Check your internet connection and pacman keyring.)
pandoc || (red Error installing productivity packages. Check your internet connection and pacman keyring.)
blue \[3\/6\] Now installing main programs \(network and internet\)... blue \[3\/6\] Now installing main programs \(network and internet\)...
@ -259,6 +259,9 @@ EOF
blue Now installing visualizers and decoration... blue Now installing visualizers and decoration...
pacman --noconfirm --needed -S projectm-pulseaudio cmatrix asciiquarium screenfetch pacman --noconfirm --needed -S projectm-pulseaudio cmatrix asciiquarium screenfetch
;; ;;
9)
blue Now installing pandoc...
pacman --noconfirm --needed -S pandoc pandoc-citeproc
esac esac
done done