mirror of
https://github.com/YunoHost-Apps/limesurvey_ynh.git
synced 2024-09-03 19:36:32 +02:00
[fix] Missing permission on pip install
This commit is contained in:
parent
7d723ee446
commit
3a1a6b5599
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ ynh_system_user_delete () {
|
|||
ynh_configure () {
|
||||
local TEMPLATE=$1
|
||||
local DEST=$2
|
||||
type j2 2>/dev/null || pip install j2cli
|
||||
type j2 2>/dev/null || sudo pip install j2cli
|
||||
j2 "${PKG_DIR}/conf/$TEMPLATE.j2" > "${PKG_DIR}/conf/$TEMPLATE"
|
||||
sudo cp "${PKG_DIR}/conf/$TEMPLATE" "$DEST"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue