Merge pull request #1 from MRDHR/master

fix install fail issue
This commit is contained in:
q3aql 2018-12-03 20:28:02 +01:00 committed by GitHub
commit a77243cf6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 3 deletions

View File

@ -36,6 +36,12 @@ _Note: The script are compatible with all GNU/Linux distributions._
* `$ ffmpeg-install --help` * `$ ffmpeg-install --help`
### The fastest way to install
1wget https://raw.githubusercontent.com/MRDHR/ffmpeg-install/master/ffmpeg-install
2chmod a+x ffmpeg-install
3./ffmpeg-install --install release
### External links: ### External links:
* [FFmpeg official website](https://www.ffmpeg.org/) * [FFmpeg official website](https://www.ffmpeg.org/)

View File

@ -38,10 +38,10 @@ fi
archs=`uname -m` archs=`uname -m`
case "$archs" in case "$archs" in
i?86) i?86)
ARCH=32bit ARCH=i686
;; ;;
x86_64) x86_64)
ARCH=64bit ARCH=amd64
;; ;;
*) *)
echo "Unsupported Arquitecture ($archs)" echo "Unsupported Arquitecture ($archs)"
@ -127,7 +127,6 @@ case $1 in
cp -rf ffmpeg $PATH_INSTALL cp -rf ffmpeg $PATH_INSTALL
cp -rf ffmpeg-10bit $PATH_INSTALL cp -rf ffmpeg-10bit $PATH_INSTALL
cp -rf ffprobe $PATH_INSTALL cp -rf ffprobe $PATH_INSTALL
cp -rf ffserver $PATH_INSTALL
cd .. cd ..
rm -rf ffmpeg-* rm -rf ffmpeg-*
echo "Done!" echo "Done!"