Skip to content

Commit 74a073e

Browse files
authored
Immich: remove unneeded tmp_file (#5332)
* remove temp cleanup from immich * Update immich-install.sh * vchord
1 parent ce9c1e6 commit 74a073e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

ct/immich.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ function update_script() {
208208
$STD apt install -y ./vchord.deb
209209
$STD sudo -u postgres psql -d immich -c "ALTER EXTENSION vchord UPDATE;"
210210
systemctl restart postgresql
211-
if [[ ! -f ~/.vchord-version ]] || [[ ! "$(cat ~/.vchord_version)" > "0.3.0" ]]; then
211+
if [[ ! -f ~/.vchord_version ]] || [[ ! "$(cat ~/.vchord_version)" > "0.3.0" ]]; then
212212
$STD sudo -u postgres psql -d immich -c "REINDEX DATABASE;"
213213
fi
214214
echo "$VCHORD_RELEASE" >~/.vchord_version

install/immich-install.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,6 @@ motd_ssh
447447
customize
448448

449449
msg_info "Cleaning up"
450-
rm -f "$tmp_file"
451450
$STD apt-get -y autoremove
452451
$STD apt-get -y autoclean
453452
msg_ok "Cleaned"

0 commit comments

Comments
 (0)