Immich: restore user ownership of install dir after updates
This commit is contained in:
parent
72fce1d5ec
commit
d7d9a85409
@ -253,6 +253,7 @@ function update_script() {
|
|||||||
$STD npm i -g @immich/cli
|
$STD npm i -g @immich/cli
|
||||||
msg_ok "Updated Immich CLI"
|
msg_ok "Updated Immich CLI"
|
||||||
|
|
||||||
|
chown -R immich:immich "$INSTALL_DIR"
|
||||||
echo "$RELEASE" >/opt/"${APP}"_version.txt
|
echo "$RELEASE" >/opt/"${APP}"_version.txt
|
||||||
msg_ok "Updated ${APP} to v${RELEASE}"
|
msg_ok "Updated ${APP} to v${RELEASE}"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user