mirror of
https://github.com/YunoHost-Apps/lemmy_ynh.git
synced 2024-09-03 19:36:09 +02:00
fix source_id name
This commit is contained in:
parent
e0082fd53f
commit
7bfcb9ec1a
2 changed files with 7 additions and 7 deletions
|
@ -31,10 +31,10 @@ ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS pgcrypto;" --data
|
|||
ynh_script_progression --message="Setting up source files..." --weight=1
|
||||
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$install_dir/build-lemmy/"
|
||||
ynh_setup_source --dest_dir="$install_dir/build-lemmy-ui/"
|
||||
ynh_setup_source --dest_dir="$install_dir/lemmy-ui/lemmy-translations/" --source_id="lemmy-translations"
|
||||
ynh_setup_source --dest_dir="$install_dir/build-pict-rs/"
|
||||
ynh_setup_source --source_id="docker-image-extract" --dest_dir="$install_dir/build-lemmy/"
|
||||
ynh_setup_source --source_id="docker-image-extract" --dest_dir="$install_dir/build-lemmy-ui/"
|
||||
ynh_setup_source --source_id="docker-image-extract" --dest_dir="$install_dir/build-pict-rs/"
|
||||
ynh_setup_source --source_id="lemmy-translations" --dest_dir="$install_dir/lemmy-ui/lemmy-translations/"
|
||||
|
||||
chmod -R o-rwx "$install_dir"
|
||||
chown -R $app:$app "$install_dir"
|
||||
|
|
|
@ -50,10 +50,10 @@ then
|
|||
ynh_script_progression --message="Upgrading source files..." --weight=1
|
||||
|
||||
# Download, check integrity, uncompress the source of lemmy from app.src to his build directory
|
||||
ynh_setup_source --dest_dir="$install_dir/build-lemmy/"
|
||||
ynh_setup_source --dest_dir="$install_dir/build-lemmy-ui/"
|
||||
ynh_setup_source --source_id="docker-image-extract" --dest_dir="$install_dir/build-lemmy/"
|
||||
ynh_setup_source --source_id="docker-image-extract" --dest_dir="$install_dir/build-lemmy-ui/"
|
||||
ynh_setup_source --source_id="docker-image-extract" --dest_dir="$install_dir/build-pict-rs/"
|
||||
ynh_setup_source --dest_dir="$install_dir/lemmy-ui/lemmy-translations/" --source_id="lemmy-translations"
|
||||
ynh_setup_source --dest_dir="$install_dir/build-pict-rs/"
|
||||
fi
|
||||
|
||||
chmod -R o-rwx "$install_dir"
|
||||
|
|
Loading…
Reference in a new issue