1
if package_is_installed handbrake-cli; then
2
echo Handbrake already installed
3
elif user_confirms_y Install handbrake for vidoe transcoding?; then
4
echo Installing HandBrakeCLI
5
apt-get install python-software-properties
6
add-apt-repository ppa:stebbins/handbrake-releases
8
apt-get install handbrake-cli