From d0b36f58aa1beb094e72c2128327eb5d4d5d0d66 Mon Sep 17 00:00:00 2001 From: Kay0u Date: Fri, 24 May 2019 21:16:54 +0200 Subject: [PATCH] fix comment --- scripts/restore | 4 ++-- scripts/upgrade | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/restore b/scripts/restore index d04fbb8..61a9ed8 100644 --- a/scripts/restore +++ b/scripts/restore @@ -90,12 +90,12 @@ ynh_install_app_dependencies $pkg_dependencies mkdir -p $final_path/transcode -if [ -x /usr/bin/ffmpeg -a ! -e $final_path/transcode/ffmpeg ]; then # Check if 'ffmpeg' is installed and executable +if [ -x /usr/bin/ffmpeg -a ! -e $final_path/transcode/ffmpeg ]; then # Check if 'ffmpeg' is installed, executable and that the symlink doesn't exist ln -s /usr/bin/ffmpeg $final_path/transcode fi # FIXME Not sure if 'lame' is needed ? -if [ -x /usr/bin/lame -a ! -e $final_path/transcode/lame ]; then # Check if 'lame' is installed and executable +if [ -x /usr/bin/lame -a ! -e $final_path/transcode/lame ]; then # Check if 'lame' is installed, executable and that the symlink doesn't exist ln -s /usr/bin/lame $final_path/transcode fi diff --git a/scripts/upgrade b/scripts/upgrade index 8d35c37..8704ef6 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -126,12 +126,12 @@ ynh_system_user_create --username=$app mkdir -p $final_path/transcode -if [ -x /usr/bin/ffmpeg -a ! -e $final_path/transcode/ffmpeg ]; then # Check if 'ffmpeg' is installed and executable +if [ -x /usr/bin/ffmpeg -a ! -e $final_path/transcode/ffmpeg ]; then # Check if 'ffmpeg' is installed, executable and that the symlink doesn't exist ln -s /usr/bin/ffmpeg $final_path/transcode fi # FIXME Not sure if 'lame' is needed ? -if [ -x /usr/bin/lame -a ! -e $final_path/transcode/lame ]; then # Check if 'lame' is installed and executable +if [ -x /usr/bin/lame -a ! -e $final_path/transcode/lame ]; then # Check if 'lame' is installed, executable and that the symlink doesn't exist ln -s /usr/bin/lame $final_path/transcode fi