wok-next diff squirrelmail-locales/receipt @ rev 21047
Up tazpkg (971), cookutils (1095)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Nov 26 21:15:05 2018 +0200 (2018-11-26) |
parents | c4e53a39395a |
children |
line diff
1.1 --- a/squirrelmail-locales/receipt Fri Mar 02 12:12:14 2018 +0200 1.2 +++ b/squirrelmail-locales/receipt Mon Nov 26 21:15:05 2018 +0200 1.3 @@ -20,16 +20,13 @@ 1.4 $S-pl_PL $S-pt_BR $S-pt_PT $S-ro_RO $S-ru_RU $S-sk_SK $S-sl_SI $S-sr_YU \ 1.5 $S-sv_SE $S-tr_TR $S-ug $S-uk_UA $S-zh_CN $S-zh_TW" 1.6 1.7 -compile_rules() 1.8 -{ 1.9 +compile_rules() { 1.10 mkdir -p $install/usr/share/squirrelmail 1.11 cp -a locale help images $install/usr/share/squirrelmail 1.12 chown -R root:root $install 1.13 } 1.14 1.15 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 -genpkg_rules() 1.17 -{ 1.18 +genpkg_rules() { 1.19 case $PACKAGE in 1.20 squirrelmail-locales) 1.21 DEPENDS="$SPLIT" 1.22 @@ -37,15 +34,14 @@ 1.23 *) 1.24 locale=${PACKAGE#*-} 1.25 copy /$locale/ sec_remove_$locale.png 1.26 - name=$(grep "($locale)" $src/ReleaseNotes.locales | sed 's| (.*||; s| Bokm.*| Bokmål|') 1.27 + name=$(grep "($locale)" $src/ReleaseNotes.locales | sed 's| (.*||; s| Bokm.*| Bokmål|') #" 1.28 CAT="localization|$name locale" 1.29 DEPENDS="squirrelmail" 1.30 ;; 1.31 esac 1.32 } 1.33 1.34 -post_install() 1.35 -{ 1.36 +post_install() { 1.37 case $PACKAGE in 1.38 squirrelmail-locales);; 1.39 *)