mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-09 01:09:16 +00:00
Update firefly-install.sh
This commit is contained in:
parent
2571400d37
commit
5df287733a
@ -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 update
|
||||||
$STD apt-get install -y \
|
$STD apt-get install -y \
|
||||||
apache2 \
|
apache2 \
|
||||||
php8.3 \
|
|
||||||
php8.3-cli \
|
|
||||||
libapache2-mod-php8.3 \
|
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 \
|
mariadb-server \
|
||||||
composer
|
composer
|
||||||
msg_ok "Installed Dependencies"
|
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
|
} >> ~/firefly.creds
|
||||||
msg_ok "Set up database"
|
msg_ok "Set up database"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
msg_info "Installing Firefly III (Patience)"
|
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)}')
|
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
|
cd /opt
|
||||||
@ -102,4 +98,4 @@ msg_info "Cleaning up"
|
|||||||
rm -rf /opt/FireflyIII-v${RELEASE}.tar.gz
|
rm -rf /opt/FireflyIII-v${RELEASE}.tar.gz
|
||||||
$STD apt-get -y autoremove
|
$STD apt-get -y autoremove
|
||||||
$STD apt-get -y autoclean
|
$STD apt-get -y autoclean
|
||||||
msg_ok "Cleaned"
|
msg_ok "Cleaned"
|
||||||
|
Loading…
Reference in New Issue
Block a user