mirror of
https://github.com/YunoHost-Apps/streama_ynh.git
synced 2024-09-03 20:26:30 +02:00
Correct ln
This commit is contained in:
parent
7c4c596be4
commit
bfdfc63772
3 changed files with 5 additions and 5 deletions
|
@ -118,8 +118,8 @@ chown -R $app:www-data "$datadir"
|
||||||
ynh_script_progression --message="Adding a configuration file..."
|
ynh_script_progression --message="Adding a configuration file..."
|
||||||
|
|
||||||
# Set permissions to app files
|
# Set permissions to app files
|
||||||
mkdir -p $final_path/data/streama
|
mkdir -p $final_path/data
|
||||||
ln -s $final_path/data/streama $datadir
|
ln -s $datadir $final_path/data/streama
|
||||||
ynh_add_config --template="../conf/convert.sh" --destination="/usr/bin/convert_movies"
|
ynh_add_config --template="../conf/convert.sh" --destination="/usr/bin/convert_movies"
|
||||||
chmod +x "/usr/bin/convert_movies"
|
chmod +x "/usr/bin/convert_movies"
|
||||||
|
|
||||||
|
|
|
@ -97,8 +97,8 @@ ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||||
ynh_script_progression --message="Adding a configuration file..."
|
ynh_script_progression --message="Adding a configuration file..."
|
||||||
|
|
||||||
# Set permissions to app files
|
# Set permissions to app files
|
||||||
mkdir -p $final_path/data/streama
|
mkdir -p $final_path/data
|
||||||
ln -s $final_path/data/streama $datadir
|
ln -s $datadir $final_path/data/streama
|
||||||
ynh_add_config --template="../conf/convert.sh" --destination="/usr/bin/convert_movies"
|
ynh_add_config --template="../conf/convert.sh" --destination="/usr/bin/convert_movies"
|
||||||
chmod +x "/usr/bin/convert_movies"
|
chmod +x "/usr/bin/convert_movies"
|
||||||
|
|
||||||
|
|
|
@ -118,7 +118,7 @@ ynh_add_nginx_config
|
||||||
ynh_script_progression --message="Updating a configuration file..."
|
ynh_script_progression --message="Updating a configuration file..."
|
||||||
|
|
||||||
# Set permissions to app files
|
# Set permissions to app files
|
||||||
mkdir -p $final_path/data/streama
|
mkdir -p $final_path/data
|
||||||
ynh_add_config --template="../conf/convert.sh" --destination="/usr/bin/convert_movies"
|
ynh_add_config --template="../conf/convert.sh" --destination="/usr/bin/convert_movies"
|
||||||
chmod +x "/usr/bin/convert_movies"
|
chmod +x "/usr/bin/convert_movies"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue