parent
c1d02394f6
commit
e12cd6f26b
|
@ -18,7 +18,7 @@ declare -i getubuntuversion=$(lsb_release -r | awk '{print $2}' | cut -d . -f1)
|
||||||
echo "============="
|
echo "============="
|
||||||
echo " Ubuntu Version: $getubuntuversion"
|
echo " Ubuntu Version: $getubuntuversion"
|
||||||
echo "============="
|
echo "============="
|
||||||
if [[ "$getubuntuversion" == "16" || "$getubuntuversion" -le "16" ]]; then
|
if [[ "$getubuntuversion" == "16" || "$getubuntuversion" < "16" ]]; then
|
||||||
echo "============="
|
echo "============="
|
||||||
echo "Shinobi - Get FFMPEG 3.x from ppa:jonathonf/ffmpeg-3"
|
echo "Shinobi - Get FFMPEG 3.x from ppa:jonathonf/ffmpeg-3"
|
||||||
sudo add-apt-repository ppa:jonathonf/ffmpeg-3 -y
|
sudo add-apt-repository ppa:jonathonf/ffmpeg-3 -y
|
||||||
|
|
|
@ -15,7 +15,7 @@ echo " Ubuntu Version: $getubuntuversion"
|
||||||
echo "============="
|
echo "============="
|
||||||
apt update -y
|
apt update -y
|
||||||
apt update --fix-missing -y
|
apt update --fix-missing -y
|
||||||
if [ "$getubuntuversion" = "18" ] || [ "$getubuntuversion" -le "18" ]; then
|
if [ "$getubuntuversion" = "18" ] || [ "$getubuntuversion" > "18" ]; then
|
||||||
apt install sudo wget -y
|
apt install sudo wget -y
|
||||||
sudo apt install -y software-properties-common
|
sudo apt install -y software-properties-common
|
||||||
sudo add-apt-repository universe -y
|
sudo add-apt-repository universe -y
|
||||||
|
@ -66,7 +66,7 @@ if ! [ -x "$(command -v npm)" ]; then
|
||||||
fi
|
fi
|
||||||
sudo apt install make zip -y
|
sudo apt install make zip -y
|
||||||
if ! [ -x "$(command -v ffmpeg)" ]; then
|
if ! [ -x "$(command -v ffmpeg)" ]; then
|
||||||
if [ "$getubuntuversion" = "16" ] || [ "$getubuntuversion" -le "16" ]; then
|
if [ "$getubuntuversion" = "16" ] || [ "$getubuntuversion" < "16" ]; then
|
||||||
echo "============="
|
echo "============="
|
||||||
echo "Shinobi - Get FFMPEG 3.x from ppa:jonathonf/ffmpeg-3"
|
echo "Shinobi - Get FFMPEG 3.x from ppa:jonathonf/ffmpeg-3"
|
||||||
sudo add-apt-repository ppa:jonathonf/ffmpeg-3 -y
|
sudo add-apt-repository ppa:jonathonf/ffmpeg-3 -y
|
||||||
|
|
|
@ -22,7 +22,7 @@ if [ "$disableIpv6" = "y" ] || [ "$disableIpv6" = "Y" ]; then
|
||||||
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
|
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
|
||||||
sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=1
|
sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=1
|
||||||
fi
|
fi
|
||||||
if [ "$getubuntuversion" = "18" ] || [ "$getubuntuversion" -gt "18" ]; then
|
if [ "$getubuntuversion" = "18" ] || [ "$getubuntuversion" > "18" ]; then
|
||||||
apt install sudo wget -y
|
apt install sudo wget -y
|
||||||
sudo apt install -y software-properties-common
|
sudo apt install -y software-properties-common
|
||||||
sudo add-apt-repository universe -y
|
sudo add-apt-repository universe -y
|
||||||
|
@ -66,7 +66,7 @@ if ! [ -x "$(command -v npm)" ]; then
|
||||||
fi
|
fi
|
||||||
sudo apt install make zip -y
|
sudo apt install make zip -y
|
||||||
if ! [ -x "$(command -v ffmpeg)" ]; then
|
if ! [ -x "$(command -v ffmpeg)" ]; then
|
||||||
if [ "$getubuntuversion" = "16" ] || [ "$getubuntuversion" -le "16" ]; then
|
if [ "$getubuntuversion" = "16" ] || [ "$getubuntuversion" < "16" ]; then
|
||||||
echo "============="
|
echo "============="
|
||||||
echo "Shinobi - Get FFMPEG 3.x from ppa:jonathonf/ffmpeg-3"
|
echo "Shinobi - Get FFMPEG 3.x from ppa:jonathonf/ffmpeg-3"
|
||||||
sudo add-apt-repository ppa:jonathonf/ffmpeg-3 -y
|
sudo add-apt-repository ppa:jonathonf/ffmpeg-3 -y
|
||||||
|
|
|
@ -13,7 +13,7 @@ getubuntuversion=$(lsb_release -r | awk '{print $2}' | cut -d . -f1)
|
||||||
echo "============="
|
echo "============="
|
||||||
echo " Ubuntu Version: $getubuntuversion"
|
echo " Ubuntu Version: $getubuntuversion"
|
||||||
echo "============="
|
echo "============="
|
||||||
if [ "$getubuntuversion" = "18" ] || [ "$getubuntuversion" -gt "18" ]; then
|
if [ "$getubuntuversion" = "18" ] || [ "$getubuntuversion" > "18" ]; then
|
||||||
apt install sudo wget -y
|
apt install sudo wget -y
|
||||||
sudo apt install -y software-properties-common
|
sudo apt install -y software-properties-common
|
||||||
sudo add-apt-repository universe -y
|
sudo add-apt-repository universe -y
|
||||||
|
@ -61,7 +61,7 @@ if ! [ -x "$(command -v npm)" ]; then
|
||||||
fi
|
fi
|
||||||
sudo apt install make zip -y
|
sudo apt install make zip -y
|
||||||
if ! [ -x "$(command -v ffmpeg)" ]; then
|
if ! [ -x "$(command -v ffmpeg)" ]; then
|
||||||
if [ "$getubuntuversion" = "16" ] || [ "$getubuntuversion" -le "16" ]; then
|
if [ "$getubuntuversion" = "16" ] || [ "$getubuntuversion" < "16" ]; then
|
||||||
echo "============="
|
echo "============="
|
||||||
echo "Shinobi - Get FFMPEG 3.x from ppa:jonathonf/ffmpeg-3"
|
echo "Shinobi - Get FFMPEG 3.x from ppa:jonathonf/ffmpeg-3"
|
||||||
sudo add-apt-repository ppa:jonathonf/ffmpeg-3 -y
|
sudo add-apt-repository ppa:jonathonf/ffmpeg-3 -y
|
||||||
|
|
Loading…
Reference in New Issue