[n/calibre-web] optional-requirements
This commit is contained in:
parent
4e2417e206
commit
cfca0ccada
1 changed files with 2 additions and 2 deletions
|
@ -3,10 +3,10 @@
|
|||
# variables
|
||||
GITHUB_REPO=janeczku/calibre-web
|
||||
VERSION=${VERSION:-latest}
|
||||
BUILD=${BUILD:-2}
|
||||
|
||||
RUNNING_USER=${RUNNING_USER:-gwh}
|
||||
RUNNING_GROUP=${RUNNING_GROUP:-users}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
TMP=/tmp/$TAG
|
||||
|
@ -58,7 +58,7 @@ sed -i "s|RUNNING_USER|$RUNNING_USER|" $PKG/etc/rc.d/rc.$PRGNAM
|
|||
# change default password
|
||||
NEW_DEFAULT_PASSWORD=$(< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-32};echo;)
|
||||
sed -i "s|admin123|$NEW_DEFAULT_PASSWORD|g" cps/*
|
||||
pip3 install --target vendor -r requirements.txt
|
||||
pip3 install --target vendor -r requirements.txt -r optional-requirements.txt
|
||||
|
||||
# correction
|
||||
cd $PKG
|
||||
|
|
Loading…
Reference in a new issue