diff --git a/ct/sftpgo.sh b/ct/sftpgo.sh index 743b2fa74..bfc104b70 100644 --- a/ct/sftpgo.sh +++ b/ct/sftpgo.sh @@ -27,10 +27,11 @@ function update_script() { msg_error "No ${APP} Installation Found!" exit fi - msg_info "Updating $APP LXC" + + msg_info "Updating SFTPGo" $STD apt update - $STD apt -y upgrade - msg_ok "Updated $APP LXC" + $STD apt upgrade -y + msg_ok "Updated SFTPGo" msg_ok "Updated successfully!" exit } diff --git a/install/sftpgo-install.sh b/install/sftpgo-install.sh index 010bbbe35..8d35a461a 100644 --- a/install/sftpgo-install.sh +++ b/install/sftpgo-install.sh @@ -17,18 +17,13 @@ msg_info "Installing Dependencies" $STD apt install -y sqlite3 msg_ok "Installed Dependencies" -setup_go +setup_deb822_repo \ + "sftpgo" \ + "https://ftp.osuosl.org/pub/sftpgo/apt/gpg.key" \ + "https://ftp.osuosl.org/pub/sftpgo/apt" \ + "trixie" msg_info "Installing SFTPGo" -curl -fsSL https://ftp.osuosl.org/pub/sftpgo/apt/gpg.key | gpg --dearmor -o /usr/share/keyrings/sftpgo-archive-keyring.gpg -cat </etc/apt/sources.list.d/sftpgo.sources -Types: deb -URIs: https://ftp.osuosl.org/pub/sftpgo/apt -Suites: bookworm -Components: main -Signed-By: /usr/share/keyrings/sftpgo-archive-keyring.gpg -EOF -$STD apt update $STD apt install -y sftpgo msg_ok "Installed SFTPGo"