grouping pre-tests (zenity,ffmpeg)
This commit is contained in:
parent
9ff520c484
commit
982c52693d
@ -1,9 +1,15 @@
|
||||
#! /bin/bash
|
||||
|
||||
if [ ! $(which zenity) ];then
|
||||
if ! which zenity ;then
|
||||
echo "Zenity n'est pas installé, installer zenity et relancer le script.";exit
|
||||
fi
|
||||
|
||||
if ! which ffmpeg ; then
|
||||
echo "ffmpeg n'est pas installé, mais est requis.";exit
|
||||
exit
|
||||
fi
|
||||
|
||||
|
||||
#---------------------------------------------------------
|
||||
# Variables
|
||||
#---------------------------------------------------------
|
||||
@ -64,11 +70,6 @@ EOF
|
||||
f_TouchePourContinuer
|
||||
clear
|
||||
|
||||
if ! which ffmpeg ; then
|
||||
echo "ffmpeg n'est pas installé, mais est requis.";exit
|
||||
exit
|
||||
fi
|
||||
|
||||
#---------------------------------------------------------
|
||||
# Installation youtube-dl
|
||||
#---------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user