From 375d12d4ec3275a2e936003561e247b1320c0fb4 Mon Sep 17 00:00:00 2001
From: Neshura <neshura@noreply.forgejo.neshweb.net>
Date: Sat, 12 Apr 2025 13:23:13 +0000
Subject: [PATCH] Update install.sh

---
 install.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/install.sh b/install.sh
index 3daf864..c8801b5 100644
--- a/install.sh
+++ b/install.sh
@@ -24,6 +24,6 @@ sed -i -e 's/hostname=.*/hostname='"$DOMAIN"'/' /etc/ssmtp/ssmtp.conf # replace
 sed -i -e 's/#FromLine/FromLine/' /etc/ssmtp/ssmtp.conf
 printf "useSTARTTLS=YES\nAuthUser=$USER@$DOMAIN\nAuthPass=$PASS" >> /etc/ssmtp/ssmtp.conf
 printf "root:noreply@$USER:mail.neshweb.net:587" >> /etc/ssmtp/revaliases # alias 'root' sender to actual noreply sender to be used
-wget "https://forgejo.neshweb.net/Neshura/disk-warn-script/raw/branch/main/disk-warn.sh" -P /root
+wget "https://forgejo.neshweb.net/Neshura/disk-warn-script/raw/branch/main/disk-warn.sh" -P /root -O disk-warn.sh
 chmod +x /root/disk-warn.sh
 (crontab -l 2>/dev/null; echo "0 1 * * * /root/disk-warn.sh") | crontab -