mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
helpers: using YNH_APP_ID instead of YNH_APP_INSTANCE_NAME during ynh_setup_source download, for more consistency and because tests was actually failing since a while because of this
This commit is contained in:
parent
8fa823b414
commit
e59a4f849a
1 changed files with 2 additions and 2 deletions
|
@ -239,8 +239,8 @@ ynh_setup_source() {
|
||||||
local local_src="/opt/yunohost-apps-src/${YNH_APP_ID}/${source_id}"
|
local local_src="/opt/yunohost-apps-src/${YNH_APP_ID}/${source_id}"
|
||||||
|
|
||||||
# Gotta use this trick with 'dirname' because source_id may contain slashes x_x
|
# Gotta use this trick with 'dirname' because source_id may contain slashes x_x
|
||||||
mkdir -p $(dirname /var/cache/yunohost/download/${YNH_APP_INSTANCE_NAME}/${source_id})
|
mkdir -p $(dirname /var/cache/yunohost/download/${YNH_APP_ID}/${source_id})
|
||||||
src_filename="/var/cache/yunohost/download/${YNH_APP_INSTANCE_NAME}/${source_id}"
|
src_filename="/var/cache/yunohost/download/${YNH_APP_ID}/${source_id}"
|
||||||
|
|
||||||
if [ "$src_format" = "docker" ]; then
|
if [ "$src_format" = "docker" ]; then
|
||||||
src_platform="${src_platform:-"linux/$YNH_ARCH"}"
|
src_platform="${src_platform:-"linux/$YNH_ARCH"}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue