mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
fix preinstall
This commit is contained in:
parent
4382aae5bd
commit
0e8dc6ab58
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ _INSTALL_APP () {
|
||||||
sed -i "s/\$SUBDOMAIN/$SUBDOMAIN/" "$preinstall_script"
|
sed -i "s/\$SUBDOMAIN/$SUBDOMAIN/" "$preinstall_script"
|
||||||
sed -i "s/\$PASSWORD/$YUNO_PWD/" "$preinstall_script"
|
sed -i "s/\$PASSWORD/$YUNO_PWD/" "$preinstall_script"
|
||||||
# Copy the pre-install script into the container.
|
# Copy the pre-install script into the container.
|
||||||
lxc file push "$preinstall_script" "$LXC_NAME":/preinstall.sh
|
lxc file push "$preinstall_script" "$LXC_NAME/preinstall.sh"
|
||||||
# Then execute the script to execute the pre-install commands.
|
# Then execute the script to execute the pre-install commands.
|
||||||
LXC_START "bash /preinstall.sh"
|
LXC_START "bash /preinstall.sh"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue