wok-current annotate tazpkg/stuff/checkspace-module.patch @ rev 25787

Adjust minimal kernel version for glibc
author Stanislas Leduc <shann@slitaz.org>
date Tue Jul 29 18:07:04 2025 +0000 (6 weeks ago)
parents ece35c6e0e49
children
rev   line source
shann@25685 1 --- a/modules/upgrade
shann@25685 2 +++ b/modules/upgrade
shann@25685 3 @@ -16,6 +16,9 @@
shann@25685 4 # Get TazPkg working environment
shann@25685 5 . @@MODULES@@/getenv
shann@25685 6
shann@25685 7 +# Get TazPkg checkspace module
shann@25685 8 +. @@MODULES@@/checkspace
shann@25685 9 +
shann@25685 10 time="$(date +%s)"
shann@25685 11
shann@25685 12 # Recharge packages databases (if necessary) (respects already exported "root" value)
shann@25690 13 @@ -122,6 +125,7 @@
shann@25685 14 install="n"
shann@25685 15 _ 'System is up-to-date...'
shann@25685 16 else
shann@25685 17 + spaceneed=$(check_space)
shann@25685 18 blocked_count=$(wc -m < "$blocked_counter")
shann@25685 19
shann@25685 20 blocked=$(_p \
shann@25690 21 @@ -133,6 +137,11 @@
shann@25690 22 'You have %s available upgrade (%s)' \
shann@25690 23 'You have %s available upgrades (%s)' "$upnb" \
shann@25690 24 "$upnb" "$blocked")"
shann@25690 25 +
shann@25690 26 + emsg "$(_p \
shann@25690 27 + 'You need %s free space.' \
shann@25690 28 + 'You need %s free space.' "$spaceneed" \
shann@25690 29 + "<c 32>$spaceneed</c>")"
shann@25690 30 fi
shann@25690 31 emsg "$(_p \
shann@25690 32 '%s installed package scanned in %ds' \
shann@25686 33 --- a/po/fr.po
shann@25686 34 +++ b/po/fr.po
shann@25686 35 @@ -1329,6 +1329,10 @@
shann@25686 36 msgid "Do you wish to install them now? (y/N)"
shann@25686 37 msgstr "Voulez-vous les installer maintenant ? (o/N)"
shann@25686 38
shann@25686 39 +#: modules/upgrade:147
shann@25686 40 +msgid "You need %s free space."
shann@25686 41 +msgstr "Vous avez besoin de %s d'espace libre."
shann@25686 42 +
shann@25686 43 #: modules/upgrade:157
shann@25686 44 msgid "Leaving without any upgrades installed."
shann@25686 45 msgstr "Sortie sans avoir installé de mise à jour."
shann@25686 46 --- a/po/tazpkg.pot
shann@25686 47 +++ b/po/tazpkg.pot
shann@25686 48 @@ -1314,6 +1314,10 @@
shann@25686 49 msgid "Do you wish to install them now? (y/N)"
shann@25686 50 msgstr ""
shann@25686 51
shann@25686 52 +#: modules/upgrade:147
shann@25686 53 +msgid "You need %s free space."
shann@25686 54 +msgstr ""
shann@25686 55 +
shann@25686 56 #: modules/upgrade:157
shann@25686 57 msgid "Leaving without any upgrades installed."
shann@25686 58 msgstr ""