parent
5cedb8469e
commit
727b713893
@ -180,7 +180,10 @@ EOF
|
|||||||
msg_ok "Updated Immich CLI"
|
msg_ok "Updated Immich CLI"
|
||||||
|
|
||||||
chown -R immich:immich "$INSTALL_DIR"
|
chown -R immich:immich "$INSTALL_DIR"
|
||||||
echo "$RELEASE" >/opt/"${APP}"_version.txt
|
if [[ ! -f ~/.debian_version.bak ]]; then
|
||||||
|
cp /etc/debian_version ~/.debian_version.bak
|
||||||
|
sed -i 's/.*/13.0/' /etc/debian_version
|
||||||
|
fi
|
||||||
msg_ok "Updated ${APP} to v${RELEASE}"
|
msg_ok "Updated ${APP} to v${RELEASE}"
|
||||||
|
|
||||||
msg_info "Cleaning up"
|
msg_info "Cleaning up"
|
||||||
|
@ -455,6 +455,8 @@ systemctl enable -q --now "$APPLICATION"-ml.service "$APPLICATION"-web.service
|
|||||||
msg_ok "Created user, env file, scripts and services"
|
msg_ok "Created user, env file, scripts and services"
|
||||||
|
|
||||||
sed -i "$ a VERSION_ID=12" /etc/os-release # otherwise the motd_ssh function will fail
|
sed -i "$ a VERSION_ID=12" /etc/os-release # otherwise the motd_ssh function will fail
|
||||||
|
cp /etc/debian_version ~/.debian_version.bak
|
||||||
|
sed -i 's/.*/13.0' /etc/debian_version
|
||||||
motd_ssh
|
motd_ssh
|
||||||
customize
|
customize
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user