1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/calibreweb_ynh.git synced 2024-09-03 18:16:20 +02:00

add messages

This commit is contained in:
Krakinou 2023-04-08 15:19:00 +02:00
parent ecef9d22af
commit f94b01bd68

View file

@ -63,10 +63,12 @@ elif git ls-remote -q --exit-code --heads https://github.com/$GITHUB_REPOSITORY.
fi fi
if [ "$update_kepubify"=0 ] && [ "$update_upstream"=0 ]; then if [ "$update_kepubify"=0 ] && [ "$update_upstream"=0 ]; then
echo "::no update : exit"
exit 0 exit 0
fi fi
if [ "$update_upstream"=1 ]; then if [ "$update_upstream"=1 ]; then
echo "Update upstream"
# Each release can hold multiple assets (e.g. binaries for different architectures, source code, etc.) # Each release can hold multiple assets (e.g. binaries for different architectures, source code, etc.)
echo "${#assets[@]} available asset(s)" echo "${#assets[@]} available asset(s)"
@ -126,6 +128,7 @@ EOT
fi fi
if [ "$update_kepubify"=1 ]; then if [ "$update_kepubify"=1 ]; then
echo "Update kepubify"
for asset_url_kepubify in ${assets_kepubify[@]}; do for asset_url_kepubify in ${assets_kepubify[@]}; do
echo "Handling asset at $asset_url_kepubify" echo "Handling asset at $asset_url_kepubify"