1
0
Fork 0
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:
Kay0u 2019-05-23 08:52:08 +02:00
parent 52f122a14a
commit 214ed8a90d
No known key found for this signature in database
GPG key ID: ABC3F52576D011D3
2 changed files with 4 additions and 4 deletions

View file

@ -89,12 +89,12 @@ ynh_install_app_dependencies $pkg_dependencies
mkdir -p $final_path/transcode 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 ln -s /usr/bin/ffmpeg $final_path/transcode
fi fi
# FIXME Not sure if 'lame' is needed ? # 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 ln -s /usr/bin/lame $final_path/transcode
fi fi

View file

@ -119,12 +119,12 @@ ynh_system_user_create --username=$app
mkdir -p $final_path/transcode 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 ln -s /usr/bin/ffmpeg $final_path/transcode
fi fi
# FIXME Not sure if 'lame' is needed ? # 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 ln -s /usr/bin/lame $final_path/transcode
fi fi