Skip to content
This repository was archived by the owner on Jun 2, 2024. It is now read-only.

Commit 33bac20

Browse files
author
Robert Thomas
committed
Minor Hotfix
- Fixed implementation of FFmpeg (custom) install
1 parent 150d50a commit 33bac20

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

docs/versions/releases/latest/plexus

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -563,8 +563,11 @@ function func_install {
563563
printf "\\n\\e[36mInstalling FFmpeg (custom).\\nThis will take a few minutes as it's built from source with support for extended codecs\\n\\n\\e[0m"
564564
sudo apt-get install build-essential curl g++ -y -qq
565565
curl https://raw.githubusercontent.com/markus-perl/ffmpeg-build-script/master/web-install.sh?v1 2>/dev/null | sudo bash
566-
rm -r "$HOME/ffmpeg-build"
567-
printf "\\e[32mFFmpeg (custom) has been installed!\\e[0m\\n"
566+
printf "\\n\\nMoving FFmpeg into /usr/bin.\\n"
567+
sudo /bin/mv -f "$HOME/ffmpeg-build/workspace/bin/ffmpeg" "/usr/bin"
568+
printf "\\nRemoving FFmpeg build files.\\n"
569+
sudo /bin/rm -r "$HOME/ffmpeg-build"
570+
printf "\\n\\e[32mFFmpeg (custom) has been installed!\\e[0m\\n"
568571
exit 0
569572
;;
570573
"0")

plexus

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -563,8 +563,11 @@ function func_install {
563563
printf "\\n\\e[36mInstalling FFmpeg (custom).\\nThis will take a few minutes as it's built from source with support for extended codecs\\n\\n\\e[0m"
564564
sudo apt-get install build-essential curl g++ -y -qq
565565
curl https://raw.githubusercontent.com/markus-perl/ffmpeg-build-script/master/web-install.sh?v1 2>/dev/null | sudo bash
566-
rm -r "$HOME/ffmpeg-build"
567-
printf "\\e[32mFFmpeg (custom) has been installed!\\e[0m\\n"
566+
printf "\\n\\nMoving FFmpeg into /usr/bin.\\n"
567+
sudo /bin/mv -f "$HOME/ffmpeg-build/workspace/bin/ffmpeg" "/usr/bin"
568+
printf "\\nRemoving FFmpeg build files.\\n"
569+
sudo /bin/rm -r "$HOME/ffmpeg-build"
570+
printf "\\n\\e[32mFFmpeg (custom) has been installed!\\e[0m\\n"
568571
exit 0
569572
;;
570573
"0")

0 commit comments

Comments
 (0)