change form variabel to hardcoded

This commit is contained in:
Michel Roegl-Brunner
2026-05-20 14:25:22 +02:00
parent 15859cc9f6
commit 76e358ccc5
2 changed files with 3 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ catch_errors
function update_script() {
header_info
if [[ ! -d /opt/mylar3 ]]; then
msg_error "No ${APP} Installation Found!"
msg_error "No Mylar3 Installation Found!"
exit
fi

View File

@@ -27,13 +27,13 @@ msg_ok "Installed Dependencies"
PYTHON_VERSION="3.11" setup_uv
fetch_and_deploy_gh_release "mylar3" "MylarComics/mylar3" "tarball"
msg_info "Installing ${APPLICATION}"
msg_info "Installing Mylar3"
mkdir -p /opt/mylar3-data
$STD uv venv --clear /opt/mylar3/.venv
$STD /opt/mylar3/.venv/bin/python -m ensurepip --upgrade
$STD /opt/mylar3/.venv/bin/python -m pip install --upgrade pip
$STD /opt/mylar3/.venv/bin/python -m pip install --no-cache-dir -r /opt/mylar3/requirements.txt
msg_ok "Installed ${APPLICATION}"
msg_ok "Installed Mylar3"
msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/mylar3.service