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:
parent
d30b797aaa
commit
149ae3cfa9
3 changed files with 5 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
)
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
)
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue