mirror of
https://github.com/YunoHost-Apps/airsonic_ynh.git
synced 2024-09-03 18:06:14 +02:00
fix symbolic link
This commit is contained in:
parent
52f122a14a
commit
214ed8a90d
2 changed files with 4 additions and 4 deletions
|
@ -89,12 +89,12 @@ ynh_install_app_dependencies $pkg_dependencies
|
|||
|
||||
mkdir -p $final_path/transcode
|
||||
|
||||
if [ -x /usr/bin/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 and executable
|
||||
ln -s /usr/bin/ffmpeg $final_path/transcode
|
||||
fi
|
||||
|
||||
# FIXME Not sure if 'lame' is needed ?
|
||||
if [ -x /usr/bin/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 and executable
|
||||
ln -s /usr/bin/lame $final_path/transcode
|
||||
fi
|
||||
|
||||
|
|
|
@ -119,12 +119,12 @@ ynh_system_user_create --username=$app
|
|||
|
||||
mkdir -p $final_path/transcode
|
||||
|
||||
if [ -x /usr/bin/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 and executable
|
||||
ln -s /usr/bin/ffmpeg $final_path/transcode
|
||||
fi
|
||||
|
||||
# FIXME Not sure if 'lame' is needed ?
|
||||
if [ -x /usr/bin/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 and executable
|
||||
ln -s /usr/bin/lame $final_path/transcode
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue