This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Bash script to install latest version of ffmpeg and its dependencies on Ubuntu 12.04 or 14.04 | |
# Inspired from https://gist.github.com/faleev/3435377 | |
set -e | |
BASEDIR="$(mktemp -d '/tmp/ffmpeg_XXXXXX')" | |
echo "### TEMP DIR: ${BASEDIR} ###" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -eufo pipefail | |
SHELL_PREFERENCE=( | |
'bash' | |
'zsh' | |
'sh' | |
) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cloud-config | |
# based on | |
# * https://ubuntu.com/server/docs/install/autoinstall-quickstart | |
# * https://curtin.readthedocs.io/en/latest/topics/storage.html | |
# * https://gist.github.com/wpbrown/b688a934339cb4228c3faf5b527fbe5b | |
autoinstall: | |
version: 1 |