1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kresus_ynh.git synced 2024-09-03 19:36:10 +02:00

Don't rebuild package and fix weboob detection

This commit is contained in:
Jean-Baptiste Holcroft 2018-08-01 06:25:29 +02:00
parent d30b797aaa
commit 149ae3cfa9
3 changed files with 5 additions and 7 deletions

View file

@ -48,7 +48,7 @@ python_exec=
; Overridden by the KRESUS_WEBOOB_DIR environment variable, if it's set.
; Example:
; srcdir=/home/ben/code/weboob
srcdir=__FINALPATH__/venv/bin/
srcdir=__FINALPATH__/venv/lib/python2.7/site-packages/
; Path to a file containing a valid Weboob's source list directory.
; Can be removed; defaults to "", indicating that Kresus will generate its own

View file

@ -103,7 +103,7 @@ virtualenv "${final_path}/venv"
set -o nounset
pip install --upgrade pip
pip install weboob
pip install weboob html2text simplejson BeautifulSoup PyExecJS
)
#=================================================
@ -114,8 +114,7 @@ ynh_use_nodejs
(
cd "$final_path"
chown -R $app: "$final_path"
npm install --unsafe-perm
npm run build:prod
npm install --production --unsafe-perm
)
#=================================================

View file

@ -113,7 +113,7 @@ virtualenv "${final_path}/venv"
set -o nounset
pip install --upgrade pip
pip install weboob
pip install weboob html2text simplejson BeautifulSoup PyExecJS
)
#=================================================
@ -124,8 +124,7 @@ ynh_use_nodejs
(
cd "$final_path"
chown -R $app: "$final_path"
npm install --unsafe-perm
npm run build:prod
npm install --production --unsafe-perm
)
#=================================================