refactor: finish moving ssh-* scripts to own installers
[webi-installers/.git] / ffmpeg / install.sh
index fb0ef78d33f8602897ab8ba495dd7d1b994e52f6..9eddc541992c0d2ed4a13494e10d55ccb74d99a8 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-{
+function __init_ffmpeg() {
     set -e
     set -u
 
@@ -35,7 +35,9 @@
         #       ...
         # This trims it down to just the version number:
         #       4.3.1
-        echo $(ffmpeg -version 2>/dev/null | head -n 1 | cut -d ' ' -f 3)
+        echo $(ffmpeg -version 2> /dev/null | head -n 1 | cut -d ' ' -f 3)
     }
 
 }
+
+__init_ffmpeg