mirror of
https://github.com/YunoHost-Apps/jupyterlab_ynh.git
synced 2024-09-03 19:26:35 +02:00
Merge branch 'testing' of https://github.com/ericgaspar/jupyterlab_ynh into testing
This commit is contained in:
commit
d6322179e8
5 changed files with 9 additions and 12 deletions
|
@ -7,7 +7,9 @@
|
|||
# dependencies used by the app
|
||||
pkg_dependencies="python3-pip libffi-dev"
|
||||
|
||||
nodejs_version=10
|
||||
nodejs_version="10"
|
||||
|
||||
jupyterlab_version="2.1.1"
|
||||
|
||||
#=================================================
|
||||
# PERSONAL HELPERS
|
||||
|
|
|
@ -93,8 +93,6 @@ ynh_script_progression --message="Setting up source files..." --weight=64
|
|||
|
||||
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
|
||||
|
||||
source ./upgrade.d/upgrade.sh
|
||||
|
||||
mkdir -p $final_path
|
||||
|
||||
pushd $final_path
|
||||
|
@ -160,8 +158,8 @@ ynh_store_file_checksum --file="$final_path/config/jupyter_notebook_config.py"
|
|||
#=================================================
|
||||
|
||||
# Set permissions to app files
|
||||
chown -R root: $final_path
|
||||
chown -R $admin: $final_path/.venv
|
||||
chown -R root: $final_path/
|
||||
chown -R $admin: $final_path/.venv/
|
||||
|
||||
#=================================================
|
||||
# ADVERTISE SERVICE IN ADMIN PANEL
|
||||
|
|
|
@ -62,8 +62,8 @@ ynh_restore_file --origin_path="$final_path"
|
|||
#=================================================
|
||||
|
||||
# Restore permissions on app files
|
||||
chown -R root: $final_path
|
||||
chown -R $admin: $final_path/.venv
|
||||
chown -R root: $final_path/
|
||||
chown -R $admin: $final_path/.venv/
|
||||
|
||||
#=================================================
|
||||
# SPECIFIC RESTORATION
|
||||
|
|
|
@ -110,8 +110,6 @@ then
|
|||
ynh_script_progression --message="Upgrading source files..." --weight=160
|
||||
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
source ./upgrade.d/upgrade.sh
|
||||
|
||||
mkdir -p $final_path
|
||||
|
||||
pushd $final_path
|
||||
|
@ -170,8 +168,8 @@ ynh_add_systemd_config
|
|||
#=================================================
|
||||
|
||||
# Set permissions on app files
|
||||
chown -R root: $final_path
|
||||
chown -R $admin: $final_path/.venv
|
||||
chown -R root: $final_path/
|
||||
chown -R $admin: $final_path/.venv/
|
||||
|
||||
#=================================================
|
||||
# SETUP SSOWAT
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
jupyterlab_version="2.1.1"
|
Loading…
Add table
Reference in a new issue