Update firefly-install.sh

This commit is contained in:
CanbiZ 2025-01-01 11:33:01 +01:00 committed by GitHub
parent 2571400d37
commit 5df287733a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,10 +23,8 @@ echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.
$STD apt-get update
$STD apt-get install -y \
apache2 \
php8.3 \
php8.3-cli \
libapache2-mod-php8.3 \
php8.3-{bcmath,intl,curl,zip,gd,xml,mbstring,mysql} \
php8.3-{bcmath,cli,intl,curl,zip,gd,xml,mbstring,mysql} \
mariadb-server \
composer
msg_ok "Installed Dependencies"
@ -47,8 +45,6 @@ mysql -u root -e "GRANT ALL ON $DB_NAME.* TO '$DB_USER'@'localhost'; FLUSH PRIVI
} >> ~/firefly.creds
msg_ok "Set up database"
msg_info "Installing Firefly III (Patience)"
RELEASE=$(curl -s https://api.github.com/repos/firefly-iii/firefly-iii/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4)}')
cd /opt
@ -102,4 +98,4 @@ msg_info "Cleaning up"
rm -rf /opt/FireflyIII-v${RELEASE}.tar.gz
$STD apt-get -y autoremove
$STD apt-get -y autoclean
msg_ok "Cleaned"
msg_ok "Cleaned"