Update ct/hoarder.sh

Co-authored-by: Mohamed Bassem <me@mbassem.com>
This commit is contained in:
CanbiZ 2025-01-11 17:17:28 +01:00 committed by GitHub
parent 4bb27b0620
commit 9f25d4df6d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -42,7 +42,7 @@ function update_script() {
cd /opt
if [[ -f /opt/hoarder/.env ]] && [[ ! -f /etc/hoarder/hoarder.env ]]; then
mkdir -p /etc/hoarder
mv /opt/hoarder/.env /etv/hoarder/hoarder.env
mv /opt/hoarder/.env /etc/hoarder/hoarder.env
fi
rm -rf /opt/hoarder
wget -q "https://github.com/hoarder-app/hoarder/archive/refs/tags/v${RELEASE}.zip"