mirror of
https://github.com/YunoHost-Apps/jupyterlab_ynh.git
synced 2024-09-03 19:26:35 +02:00
fix upgrade
This commit is contained in:
parent
1f4ed86570
commit
923fcf98fb
1 changed files with 18 additions and 13 deletions
|
@ -134,6 +134,10 @@ setup_source() {
|
||||||
if [ "$src_filename" = "" ] ; then
|
if [ "$src_filename" = "" ] ; then
|
||||||
src_filename="${src_id}.${src_format}"
|
src_filename="${src_id}.${src_format}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if ! test -e "$final_path"
|
||||||
|
then
|
||||||
|
|
||||||
local local_src="/opt/yunohost-apps-src/${YNH_APP_ID}/${src_filename}"
|
local local_src="/opt/yunohost-apps-src/${YNH_APP_ID}/${src_filename}"
|
||||||
|
|
||||||
if test -e "$local_src"
|
if test -e "$local_src"
|
||||||
|
@ -148,6 +152,7 @@ setup_source() {
|
||||||
|| ynh_die "Corrupt source"
|
|| ynh_die "Corrupt source"
|
||||||
|
|
||||||
bash $src_filename -b -p $final_path
|
bash $src_filename -b -p $final_path
|
||||||
|
fi
|
||||||
|
|
||||||
export "PATH=$final_path/bin/:$PATH"
|
export "PATH=$final_path/bin/:$PATH"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue