Better syntax
This commit is contained in:
parent
eb69ed31ae
commit
653dbb5e37
|
@ -6,15 +6,15 @@
|
||||||
# Created by q3aql (q3aql@protonmail.ch) #
|
# Created by q3aql (q3aql@protonmail.ch) #
|
||||||
# Builds by John Van Sickle (john.vansickle@gmail.com) #
|
# Builds by John Van Sickle (john.vansickle@gmail.com) #
|
||||||
# Licensed by GPL v2.0 #
|
# Licensed by GPL v2.0 #
|
||||||
# Date: 12-03-2021 #
|
# Date: 27-03-2021 #
|
||||||
########################################################
|
########################################################
|
||||||
VERSION="v2.0"
|
VERSION="v2.0"
|
||||||
M_DATE="100321"
|
M_DATE="270321"
|
||||||
|
|
||||||
# Variables
|
# Variables
|
||||||
URL=https://www.johnvansickle.com/ffmpeg/
|
URL="https://www.johnvansickle.com/ffmpeg/"
|
||||||
URL_RELEASES=https://johnvansickle.com/ffmpeg/releases/
|
URL_RELEASES="https://johnvansickle.com/ffmpeg/releases/"
|
||||||
URL_BUILDS=https://johnvansickle.com/ffmpeg/builds/
|
URL_BUILDS="https://johnvansickle.com/ffmpeg/builds/"
|
||||||
TMP_DIR=/tmp
|
TMP_DIR=/tmp
|
||||||
PATH_INSTALL=/usr/bin/
|
PATH_INSTALL=/usr/bin/
|
||||||
# Downloader
|
# Downloader
|
||||||
|
@ -55,8 +55,8 @@ function kernelCheck() {
|
||||||
|
|
||||||
# Function to detect "arch" system.
|
# Function to detect "arch" system.
|
||||||
function archCheck() {
|
function archCheck() {
|
||||||
archs=`uname -m`
|
archs=$(uname -m)
|
||||||
case "$archs" in
|
case "${archs}" in
|
||||||
i?86)
|
i?86)
|
||||||
ARCH=i686
|
ARCH=i686
|
||||||
;;
|
;;
|
||||||
|
@ -67,7 +67,7 @@ function archCheck() {
|
||||||
echo ""
|
echo ""
|
||||||
echo "* ffmpeg-install ${VERSION} (${M_DATE}) (GPL v2.0)"
|
echo "* ffmpeg-install ${VERSION} (${M_DATE}) (GPL v2.0)"
|
||||||
echo ""
|
echo ""
|
||||||
echo "+ Unsupported Arquitecture ($archs)"
|
echo "+ Unsupported Arquitecture (${archs})"
|
||||||
echo ""
|
echo ""
|
||||||
exit
|
exit
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in New Issue
Block a user