sup rev 47
Improve package info
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Mar 10 10:11:59 2017 +0100 (2017-03-10) |
parents | 36795f3c1ef3 |
children | d9874c941602 |
files | README po/clients/fr.po po/clients/ru.po po/clients/sup-clients.pot sup |
line diff
1.1 --- a/README Fri Mar 10 09:12:43 2017 +0100 1.2 +++ b/README Fri Mar 10 10:11:59 2017 +0100 1.3 @@ -151,7 +151,7 @@ 1.4 1.5 [036/36] Cyan for installed/mirror 1.6 [035/35] Magenta for cook/wok 1.7 - [033/33] Yellow for commands/functions 1.8 + [033/33] Yellow for commands/functions/info() 1.9 1.10 The CGI/Web hug services match SCN/SliTaz network graphical style. 1.11
2.1 --- a/po/clients/fr.po Fri Mar 10 09:12:43 2017 +0100 2.2 +++ b/po/clients/fr.po Fri Mar 10 10:11:59 2017 +0100 2.3 @@ -7,7 +7,7 @@ 2.4 msgstr "" 2.5 "Project-Id-Version: Sup Clients\n" 2.6 "Report-Msgid-Bugs-To: \n" 2.7 -"POT-Creation-Date: 2017-03-10 09:11+0100\n" 2.8 +"POT-Creation-Date: 2017-03-10 10:11+0100\n" 2.9 "PO-Revision-Date: 2017-02-26 21:15+0100\n" 2.10 "Last-Translator: Christophe Lincoln <pankso@slitaz.org>\n" 2.11 "Language-Team: French\n" 2.12 @@ -97,182 +97,196 @@ 2.13 msgstr "" 2.14 2.15 #: sup:49 2.16 +#, fuzzy 2.17 +msgid "List installed files by a package" 2.18 +msgstr "Paquet installé:" 2.19 + 2.20 +#: sup:50 2.21 msgid "Display more output messages" 2.22 msgstr "" 2.23 2.24 -#: sup:68 2.25 +#: sup:69 2.26 msgid "Missing package name or file path:" 2.27 msgstr "" 2.28 2.29 -#: sup:112 2.30 +#: sup:113 2.31 msgid "Initializing sup cook environment..." 2.32 msgstr "" 2.33 2.34 -#: sup:119 sup:184 2.35 +#: sup:120 sup:185 2.36 msgid "Can't find receip in wok for:" 2.37 msgstr "" 2.38 2.39 -#: sup:123 2.40 +#: sup:124 2.41 msgid "Building package:" 2.42 msgstr "" 2.43 2.44 -#: sup:129 2.45 +#: sup:130 2.46 msgid "Checking receip variables..." 2.47 msgstr "" 2.48 2.49 -#: sup:137 sup:142 2.50 +#: sup:138 sup:143 2.51 msgid "Empty variable:" 2.52 msgstr "" 2.53 2.54 -#: sup:143 2.55 +#: sup:144 2.56 msgid "You can use:" 2.57 msgstr "" 2.58 2.59 -#: sup:165 2.60 +#: sup:166 2.61 msgid "Creating compressed archive..." 2.62 msgstr "" 2.63 2.64 -#: sup:172 sup:241 2.65 +#: sup:173 sup:242 2.66 msgid "Packages:" 2.67 msgstr "" 2.68 2.69 -#: sup:188 2.70 +#: sup:189 2.71 msgid "Running" 2.72 msgstr "" 2.73 2.74 -#: sup:193 libsup.sh:120 2.75 +#: sup:194 libsup.sh:120 2.76 msgid "Checking package dependencies" 2.77 msgstr "" 2.78 2.79 -#: sup:200 2.80 +#: sup:201 2.81 msgid "Working folder:" 2.82 msgstr "" 2.83 2.84 -#: sup:207 2.85 +#: sup:208 2.86 msgid "New package name:" 2.87 msgstr "" 2.88 2.89 -#: sup:213 2.90 +#: sup:214 2.91 msgid "Package already exists in wok:" 2.92 msgstr "" 2.93 2.94 -#: sup:216 2.95 +#: sup:217 2.96 msgid "Creating new package files and tree..." 2.97 msgstr "" 2.98 2.99 -#: sup:219 2.100 +#: sup:220 2.101 msgid "Executing your favorite editor..." 2.102 msgstr "" 2.103 2.104 -#: sup:221 2.105 +#: sup:222 2.106 msgid "To cook your package:" 2.107 msgstr "" 2.108 2.109 -#: sup:231 2.110 +#: sup:232 2.111 msgid "Can't find package file:" 2.112 msgstr "" 2.113 2.114 -#: sup:235 2.115 +#: sup:236 2.116 msgid "Extract package:" 2.117 msgstr "" 2.118 2.119 -#: sup:275 2.120 +#: sup:276 2.121 msgid "Can't find sup package:" 2.122 msgstr "" 2.123 2.124 -#: sup:281 2.125 +#: sup:282 2.126 msgid "SUP Update" 2.127 msgstr "" 2.128 2.129 -#: sup:286 2.130 +#: sup:287 2.131 msgid "Mirror is unreachable" 2.132 msgstr "" 2.133 2.134 -#: sup:292 2.135 +#: sup:293 2.136 msgid "Checking packages.sql..." 2.137 msgstr "" 2.138 2.139 -#: sup:311 2.140 +#: sup:312 2.141 msgid "Database timestamp:" 2.142 msgstr "" 2.143 2.144 -#: sup:313 2.145 +#: sup:314 2.146 msgid "Updated packages database:" 2.147 msgstr "" 2.148 2.149 -#: sup:318 2.150 +#: sup:319 2.151 msgid "Please try later. Missing packages database" 2.152 msgstr "" 2.153 2.154 -#: sup:326 2.155 +#: sup:327 2.156 #, fuzzy 2.157 msgid "Installed packages:" 2.158 msgstr "Paquet installé:" 2.159 2.160 -#: sup:328 2.161 +#: sup:329 2.162 msgid "Package" 2.163 msgstr "" 2.164 2.165 -#: sup:328 2.166 +#: sup:329 2.167 msgid "Version" 2.168 msgstr "" 2.169 2.170 -#: sup:329 2.171 +#: sup:330 2.172 msgid "Status" 2.173 msgstr "" 2.174 2.175 -#: sup:355 2.176 +#: sup:356 2.177 msgid "rebuilt" 2.178 msgstr "" 2.179 2.180 -#: sup:366 2.181 +#: sup:367 2.182 msgid "Available updates:" 2.183 msgstr "" 2.184 2.185 -#: sup:375 2.186 +#: sup:376 2.187 msgid "Packages are up-to-date" 2.188 msgstr "" 2.189 2.190 -#: sup:387 sup:476 2.191 +#: sup:388 sup:485 2.192 msgid "Can't find installed package:" 2.193 msgstr "" 2.194 2.195 -#: sup:395 2.196 +#: sup:396 2.197 msgid "Searching for:" 2.198 msgstr "" 2.199 2.200 -#: sup:409 sup:446 2.201 +#: sup:410 sup:447 2.202 msgid "SUP packages in database:" 2.203 msgstr "" 2.204 2.205 -#: sup:421 2.206 +#: sup:422 2.207 #, fuzzy 2.208 msgid "Installed SUP packages:" 2.209 msgstr "Paquet installé:" 2.210 2.211 -#: sup:429 2.212 +#: sup:430 2.213 msgid "No sup packages installed" 2.214 msgstr "" 2.215 2.216 -#: sup:433 2.217 +#: sup:434 2.218 #, fuzzy 2.219 msgid "SUP packages in your wok:" 2.220 msgstr "Paquet installé:" 2.221 2.222 -#: sup:443 sup:453 2.223 +#: sup:444 sup:454 2.224 #, fuzzy 2.225 msgid "Cooked packages:" 2.226 msgstr "Paquet installé:" 2.227 2.228 -#: sup:456 2.229 +#: sup:457 2.230 msgid "Downloads::" 2.231 msgstr "" 2.232 2.233 -#: sup:468 2.234 +#: sup:470 2.235 msgid "Installed package:" 2.236 msgstr "Paquet installé:" 2.237 2.238 -#: sup:472 2.239 +#: sup:475 2.240 +msgid "Files list:" 2.241 +msgstr "" 2.242 + 2.243 +#: sup:479 2.244 +#, fuzzy 2.245 +msgid "Installed size:" 2.246 +msgstr "Fichers installés:" 2.247 + 2.248 +#: sup:481 2.249 msgid "Installed files:" 2.250 msgstr "Fichers installés:" 2.251
3.1 --- a/po/clients/ru.po Fri Mar 10 09:12:43 2017 +0100 3.2 +++ b/po/clients/ru.po Fri Mar 10 10:11:59 2017 +0100 3.3 @@ -7,7 +7,7 @@ 3.4 msgstr "" 3.5 "Project-Id-Version: SUP Clients\n" 3.6 "Report-Msgid-Bugs-To: \n" 3.7 -"POT-Creation-Date: 2017-03-10 09:12+0100\n" 3.8 +"POT-Creation-Date: 2017-03-10 10:11+0100\n" 3.9 "PO-Revision-Date: 2017-02-28 22:56+0200\n" 3.10 "Last-Translator: Aleksej Bobylev <al.bobylev@gmail.com>\n" 3.11 "Language-Team: \n" 3.12 @@ -99,188 +99,202 @@ 3.13 msgstr "Инициализировать среду sup cook" 3.14 3.15 #: sup:49 3.16 +#, fuzzy 3.17 +msgid "List installed files by a package" 3.18 +msgstr "Установленный пакет:" 3.19 + 3.20 +#: sup:50 3.21 msgid "Display more output messages" 3.22 msgstr "Показывать больше выходных сообщений" 3.23 3.24 -#: sup:68 3.25 +#: sup:69 3.26 msgid "Missing package name or file path:" 3.27 msgstr "Отсутствует название пакета или путь к файлу:" 3.28 3.29 -#: sup:112 3.30 +#: sup:113 3.31 msgid "Initializing sup cook environment..." 3.32 msgstr "Инициализация среды sup cook…" 3.33 3.34 -#: sup:119 sup:184 3.35 +#: sup:120 sup:185 3.36 msgid "Can't find receip in wok for:" 3.37 msgstr "Не удалось найти receip в wok для:" 3.38 3.39 -#: sup:123 3.40 +#: sup:124 3.41 msgid "Building package:" 3.42 msgstr "Создание пакета:" 3.43 3.44 -#: sup:129 3.45 +#: sup:130 3.46 msgid "Checking receip variables..." 3.47 msgstr "Проверка переменных receip…" 3.48 3.49 -#: sup:137 sup:142 3.50 +#: sup:138 sup:143 3.51 msgid "Empty variable:" 3.52 msgstr "Пустая переменная:" 3.53 3.54 -#: sup:143 3.55 +#: sup:144 3.56 msgid "You can use:" 3.57 msgstr "Вы можете использовать:" 3.58 3.59 -#: sup:165 3.60 +#: sup:166 3.61 msgid "Creating compressed archive..." 3.62 msgstr "Создание сжатого архива…" 3.63 3.64 -#: sup:172 sup:241 3.65 +#: sup:173 sup:242 3.66 msgid "Packages:" 3.67 msgstr "Пакеты:" 3.68 3.69 -#: sup:188 3.70 +#: sup:189 3.71 msgid "Running" 3.72 msgstr "" 3.73 3.74 -#: sup:193 libsup.sh:120 3.75 +#: sup:194 libsup.sh:120 3.76 #, fuzzy 3.77 msgid "Checking package dependencies" 3.78 msgstr "Проверка зависимостей для" 3.79 3.80 -#: sup:200 3.81 +#: sup:201 3.82 #, fuzzy 3.83 msgid "Working folder:" 3.84 msgstr "Удаление папки:" 3.85 3.86 -#: sup:207 3.87 +#: sup:208 3.88 msgid "New package name:" 3.89 msgstr "Название нового пакета:" 3.90 3.91 -#: sup:213 3.92 +#: sup:214 3.93 msgid "Package already exists in wok:" 3.94 msgstr "Пакет уже существует в wok:" 3.95 3.96 -#: sup:216 3.97 +#: sup:217 3.98 msgid "Creating new package files and tree..." 3.99 msgstr "Создание файлов и дерева нового пакета…" 3.100 3.101 -#: sup:219 3.102 +#: sup:220 3.103 msgid "Executing your favorite editor..." 3.104 msgstr "Запуск вашего любимого редактора…" 3.105 3.106 -#: sup:221 3.107 +#: sup:222 3.108 msgid "To cook your package:" 3.109 msgstr "Чтобы создать ваш пакет:" 3.110 3.111 -#: sup:231 3.112 +#: sup:232 3.113 msgid "Can't find package file:" 3.114 msgstr "Не удалось найти файл пакета:" 3.115 3.116 -#: sup:235 3.117 +#: sup:236 3.118 msgid "Extract package:" 3.119 msgstr "Распаковка пакета:" 3.120 3.121 -#: sup:275 3.122 +#: sup:276 3.123 msgid "Can't find sup package:" 3.124 msgstr "Не удалось найти пакет sup:" 3.125 3.126 -#: sup:281 3.127 +#: sup:282 3.128 msgid "SUP Update" 3.129 msgstr "Обновление SUP" 3.130 3.131 -#: sup:286 3.132 +#: sup:287 3.133 msgid "Mirror is unreachable" 3.134 msgstr "Зеркало недоступно" 3.135 3.136 -#: sup:292 3.137 +#: sup:293 3.138 #, fuzzy 3.139 msgid "Checking packages.sql..." 3.140 msgstr "Проверка переменных receip…" 3.141 3.142 -#: sup:311 3.143 +#: sup:312 3.144 msgid "Database timestamp:" 3.145 msgstr "" 3.146 3.147 -#: sup:313 3.148 +#: sup:314 3.149 #, fuzzy 3.150 msgid "Updated packages database:" 3.151 msgstr "Название нового пакета:" 3.152 3.153 -#: sup:318 3.154 +#: sup:319 3.155 msgid "Please try later. Missing packages database" 3.156 msgstr "" 3.157 3.158 -#: sup:326 3.159 +#: sup:327 3.160 #, fuzzy 3.161 msgid "Installed packages:" 3.162 msgstr "Установленный пакет:" 3.163 3.164 -#: sup:328 3.165 +#: sup:329 3.166 #, fuzzy 3.167 msgid "Package" 3.168 msgstr "Пакеты:" 3.169 3.170 -#: sup:328 3.171 +#: sup:329 3.172 msgid "Version" 3.173 msgstr "" 3.174 3.175 -#: sup:329 3.176 +#: sup:330 3.177 msgid "Status" 3.178 msgstr "" 3.179 3.180 -#: sup:355 3.181 +#: sup:356 3.182 msgid "rebuilt" 3.183 msgstr "" 3.184 3.185 -#: sup:366 3.186 +#: sup:367 3.187 msgid "Available updates:" 3.188 msgstr "" 3.189 3.190 -#: sup:375 3.191 +#: sup:376 3.192 msgid "Packages are up-to-date" 3.193 msgstr "" 3.194 3.195 -#: sup:387 sup:476 3.196 +#: sup:388 sup:485 3.197 msgid "Can't find installed package:" 3.198 msgstr "Не удалось найти установленный пакет:" 3.199 3.200 -#: sup:395 3.201 +#: sup:396 3.202 msgid "Searching for:" 3.203 msgstr "" 3.204 3.205 -#: sup:409 sup:446 3.206 +#: sup:410 sup:447 3.207 #, fuzzy 3.208 msgid "SUP packages in database:" 3.209 msgstr "Название нового пакета:" 3.210 3.211 -#: sup:421 3.212 +#: sup:422 3.213 #, fuzzy 3.214 msgid "Installed SUP packages:" 3.215 msgstr "Установленный пакет:" 3.216 3.217 -#: sup:429 3.218 +#: sup:430 3.219 msgid "No sup packages installed" 3.220 msgstr "Нет установленных пакетов sup" 3.221 3.222 -#: sup:433 3.223 +#: sup:434 3.224 #, fuzzy 3.225 msgid "SUP packages in your wok:" 3.226 msgstr "Пакеты sup в вашем wok:" 3.227 3.228 -#: sup:443 sup:453 3.229 +#: sup:444 sup:454 3.230 #, fuzzy 3.231 msgid "Cooked packages:" 3.232 msgstr "Чтобы создать ваш пакет:" 3.233 3.234 -#: sup:456 3.235 +#: sup:457 3.236 msgid "Downloads::" 3.237 msgstr "" 3.238 3.239 -#: sup:468 3.240 +#: sup:470 3.241 msgid "Installed package:" 3.242 msgstr "Установленный пакет:" 3.243 3.244 -#: sup:472 3.245 +#: sup:475 3.246 +msgid "Files list:" 3.247 +msgstr "" 3.248 + 3.249 +#: sup:479 3.250 +#, fuzzy 3.251 +msgid "Installed size:" 3.252 +msgstr "Установленные файлы:" 3.253 + 3.254 +#: sup:481 3.255 msgid "Installed files:" 3.256 msgstr "Установленные файлы:" 3.257
4.1 --- a/po/clients/sup-clients.pot Fri Mar 10 09:12:43 2017 +0100 4.2 +++ b/po/clients/sup-clients.pot Fri Mar 10 10:11:59 2017 +0100 4.3 @@ -8,7 +8,7 @@ 4.4 msgstr "" 4.5 "Project-Id-Version: SUP Clients\n" 4.6 "Report-Msgid-Bugs-To: \n" 4.7 -"POT-Creation-Date: 2017-03-10 09:12+0100\n" 4.8 +"POT-Creation-Date: 2017-03-10 10:11+0100\n" 4.9 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 4.10 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 4.11 "Language-Team: LANGUAGE <LL@li.org>\n" 4.12 @@ -90,178 +90,190 @@ 4.13 msgstr "" 4.14 4.15 #: sup:49 4.16 +msgid "List installed files by a package" 4.17 +msgstr "" 4.18 + 4.19 +#: sup:50 4.20 msgid "Display more output messages" 4.21 msgstr "" 4.22 4.23 -#: sup:68 4.24 +#: sup:69 4.25 msgid "Missing package name or file path:" 4.26 msgstr "" 4.27 4.28 -#: sup:112 4.29 +#: sup:113 4.30 msgid "Initializing sup cook environment..." 4.31 msgstr "" 4.32 4.33 -#: sup:119 sup:184 4.34 +#: sup:120 sup:185 4.35 msgid "Can't find receip in wok for:" 4.36 msgstr "" 4.37 4.38 -#: sup:123 4.39 +#: sup:124 4.40 msgid "Building package:" 4.41 msgstr "" 4.42 4.43 -#: sup:129 4.44 +#: sup:130 4.45 msgid "Checking receip variables..." 4.46 msgstr "" 4.47 4.48 -#: sup:137 sup:142 4.49 +#: sup:138 sup:143 4.50 msgid "Empty variable:" 4.51 msgstr "" 4.52 4.53 -#: sup:143 4.54 +#: sup:144 4.55 msgid "You can use:" 4.56 msgstr "" 4.57 4.58 -#: sup:165 4.59 +#: sup:166 4.60 msgid "Creating compressed archive..." 4.61 msgstr "" 4.62 4.63 -#: sup:172 sup:241 4.64 +#: sup:173 sup:242 4.65 msgid "Packages:" 4.66 msgstr "" 4.67 4.68 -#: sup:188 4.69 +#: sup:189 4.70 msgid "Running" 4.71 msgstr "" 4.72 4.73 -#: sup:193 libsup.sh:120 4.74 +#: sup:194 libsup.sh:120 4.75 msgid "Checking package dependencies" 4.76 msgstr "" 4.77 4.78 -#: sup:200 4.79 +#: sup:201 4.80 msgid "Working folder:" 4.81 msgstr "" 4.82 4.83 -#: sup:207 4.84 +#: sup:208 4.85 msgid "New package name:" 4.86 msgstr "" 4.87 4.88 -#: sup:213 4.89 +#: sup:214 4.90 msgid "Package already exists in wok:" 4.91 msgstr "" 4.92 4.93 -#: sup:216 4.94 +#: sup:217 4.95 msgid "Creating new package files and tree..." 4.96 msgstr "" 4.97 4.98 -#: sup:219 4.99 +#: sup:220 4.100 msgid "Executing your favorite editor..." 4.101 msgstr "" 4.102 4.103 -#: sup:221 4.104 +#: sup:222 4.105 msgid "To cook your package:" 4.106 msgstr "" 4.107 4.108 -#: sup:231 4.109 +#: sup:232 4.110 msgid "Can't find package file:" 4.111 msgstr "" 4.112 4.113 -#: sup:235 4.114 +#: sup:236 4.115 msgid "Extract package:" 4.116 msgstr "" 4.117 4.118 -#: sup:275 4.119 +#: sup:276 4.120 msgid "Can't find sup package:" 4.121 msgstr "" 4.122 4.123 -#: sup:281 4.124 +#: sup:282 4.125 msgid "SUP Update" 4.126 msgstr "" 4.127 4.128 -#: sup:286 4.129 +#: sup:287 4.130 msgid "Mirror is unreachable" 4.131 msgstr "" 4.132 4.133 -#: sup:292 4.134 +#: sup:293 4.135 msgid "Checking packages.sql..." 4.136 msgstr "" 4.137 4.138 -#: sup:311 4.139 +#: sup:312 4.140 msgid "Database timestamp:" 4.141 msgstr "" 4.142 4.143 -#: sup:313 4.144 +#: sup:314 4.145 msgid "Updated packages database:" 4.146 msgstr "" 4.147 4.148 -#: sup:318 4.149 +#: sup:319 4.150 msgid "Please try later. Missing packages database" 4.151 msgstr "" 4.152 4.153 -#: sup:326 4.154 +#: sup:327 4.155 msgid "Installed packages:" 4.156 msgstr "" 4.157 4.158 -#: sup:328 4.159 +#: sup:329 4.160 msgid "Package" 4.161 msgstr "" 4.162 4.163 -#: sup:328 4.164 +#: sup:329 4.165 msgid "Version" 4.166 msgstr "" 4.167 4.168 -#: sup:329 4.169 +#: sup:330 4.170 msgid "Status" 4.171 msgstr "" 4.172 4.173 -#: sup:355 4.174 +#: sup:356 4.175 msgid "rebuilt" 4.176 msgstr "" 4.177 4.178 -#: sup:366 4.179 +#: sup:367 4.180 msgid "Available updates:" 4.181 msgstr "" 4.182 4.183 -#: sup:375 4.184 +#: sup:376 4.185 msgid "Packages are up-to-date" 4.186 msgstr "" 4.187 4.188 -#: sup:387 sup:476 4.189 +#: sup:388 sup:485 4.190 msgid "Can't find installed package:" 4.191 msgstr "" 4.192 4.193 -#: sup:395 4.194 +#: sup:396 4.195 msgid "Searching for:" 4.196 msgstr "" 4.197 4.198 -#: sup:409 sup:446 4.199 +#: sup:410 sup:447 4.200 msgid "SUP packages in database:" 4.201 msgstr "" 4.202 4.203 -#: sup:421 4.204 +#: sup:422 4.205 msgid "Installed SUP packages:" 4.206 msgstr "" 4.207 4.208 -#: sup:429 4.209 +#: sup:430 4.210 msgid "No sup packages installed" 4.211 msgstr "" 4.212 4.213 -#: sup:433 4.214 +#: sup:434 4.215 msgid "SUP packages in your wok:" 4.216 msgstr "" 4.217 4.218 -#: sup:443 sup:453 4.219 +#: sup:444 sup:454 4.220 msgid "Cooked packages:" 4.221 msgstr "" 4.222 4.223 -#: sup:456 4.224 +#: sup:457 4.225 msgid "Downloads::" 4.226 msgstr "" 4.227 4.228 -#: sup:468 4.229 +#: sup:470 4.230 msgid "Installed package:" 4.231 msgstr "" 4.232 4.233 -#: sup:472 4.234 +#: sup:475 4.235 +msgid "Files list:" 4.236 +msgstr "" 4.237 + 4.238 +#: sup:479 4.239 +msgid "Installed size:" 4.240 +msgstr "" 4.241 + 4.242 +#: sup:481 4.243 msgid "Installed files:" 4.244 msgstr "" 4.245
5.1 --- a/sup Fri Mar 10 09:12:43 2017 +0100 5.2 +++ b/sup Fri Mar 10 10:11:59 2017 +0100 5.3 @@ -27,7 +27,7 @@ 5.4 help() { 5.5 cat << EOT 5.6 5.7 -$(boldify $(gettext "Usage:")) $(basename $0) [command|package] [package] 5.8 +$(boldify $(gettext "Usage:")) $(basename $0) [command|package] [package|--option] 5.9 5.10 $(boldify $(gettext "Commands:")) 5.11 -i install $(gettext "Install a new package") 5.12 @@ -46,6 +46,7 @@ 5.13 --force update $(gettext "Force recharging packages database") 5.14 --db list $(gettext "List all packages in database") 5.15 --init cook $(gettext "Initialize sup cook environment") 5.16 + --list info $(gettext "List installed files by a package") 5.17 --verbose all $(gettext "Display more output messages") 5.18 5.19 $(colorize 33 Manual) man sup 5.20 @@ -459,8 +460,9 @@ 5.21 5.22 ""|-h|help) help ;; 5.23 5.24 - *) 5.25 + *|info) 5.26 # Display pkg info if installed 5.27 + [ "$1" == "info" ] && shift 5.28 pkg="$1" 5.29 if [ -f "$installed/$pkg/receip" ]; then 5.30 . ${installed}/${pkg}/receip 5.31 @@ -469,8 +471,15 @@ 5.32 separator 5.33 echo "$SHORT_DESC" 5.34 newline 5.35 - colorize 036 "$(gettext 'Installed files:') ($sup_size)" 5.36 - cat ${installed}/${pkg}/files.list 5.37 + if [ "$list" ]; then 5.38 + colorize 036 "$(gettext 'Files list:')" 5.39 + cat ${installed}/${pkg}/files.list 5.40 + separator "-" 5.41 + fi 5.42 + echo -n $(colorize 036 "$(gettext 'Installed size:')") 5.43 + info 033 "$sup_size" 5.44 + echo -n $(colorize 036 "$(gettext 'Installed files:')") 5.45 + info 033 $(cat ${installed}/${pkg}/files.list | wc -l) 5.46 newline 5.47 else 5.48 gettext "Can't find installed package:"; colorize 31 " $pkg"