Files
FOSSBilling/bin/update.sh
T
2022-11-28 17:22:50 +03:00

10 lines
191 B
Bash

#!/bin/sh
UPDATE_URL="https://www.fossbilling.org/version/latest_update.zip"
wget -O update.zip -q $UPDATE_URL
unzip -o update.zip
php foss-update.php
rm -rf update.zip
rm -rf data/cache/*