wok-current rev 22367

fix locale-* post_remove
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 22 12:30:25 2019 +0100 (2019-11-22)
parents 73968a7f1da9
children d32ebfceb732
files locale-ar/receipt locale-ca/receipt locale-cs/receipt locale-da/receipt locale-de/receipt locale-el/receipt locale-en/receipt locale-es/receipt locale-fi/receipt locale-fr/receipt locale-hr/receipt locale-hu/receipt locale-id/receipt locale-is/receipt locale-it/receipt locale-ja/receipt locale-nb/receipt locale-nl/receipt locale-nn/receipt locale-pl/receipt locale-pt/receipt locale-pt_BR/receipt locale-ro/receipt locale-ru/receipt locale-sl/receipt locale-sv/receipt locale-tr/receipt locale-uk/receipt locale-zh_CN/receipt locale-zh_TW/receipt
line diff
     1.1 --- a/locale-ar/receipt	Fri Nov 22 11:57:18 2019 +0100
     1.2 +++ b/locale-ar/receipt	Fri Nov 22 12:30:25 2019 +0100
     1.3 @@ -28,6 +28,6 @@
     1.4  # Back to C if it's the last used locale.
     1.5  post_remove()
     1.6  {
     1.7 -	grep -q =$LOCALE /etc/locale.conf &&
     1.8 +	grep -qs =$LOCALE /etc/locale.conf &&
     1.9  	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
    1.10  }
     2.1 --- a/locale-ca/receipt	Fri Nov 22 11:57:18 2019 +0100
     2.2 +++ b/locale-ca/receipt	Fri Nov 22 12:30:25 2019 +0100
     2.3 @@ -29,6 +29,6 @@
     2.4  # Back to C if it's the last used locale.
     2.5  post_remove()
     2.6  {
     2.7 -	grep -q =$LOCALE /etc/locale.conf &&
     2.8 +	grep -qs =$LOCALE /etc/locale.conf &&
     2.9  	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
    2.10  }
     3.1 --- a/locale-cs/receipt	Fri Nov 22 11:57:18 2019 +0100
     3.2 +++ b/locale-cs/receipt	Fri Nov 22 12:30:25 2019 +0100
     3.3 @@ -29,6 +29,6 @@
     3.4  # Back to C if it's the last used locale.
     3.5  post_remove()
     3.6  {
     3.7 -	grep -q =$LOCALE /etc/locale.conf &&
     3.8 +	grep -qs =$LOCALE /etc/locale.conf &&
     3.9  	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
    3.10  }
     4.1 --- a/locale-da/receipt	Fri Nov 22 11:57:18 2019 +0100
     4.2 +++ b/locale-da/receipt	Fri Nov 22 12:30:25 2019 +0100
     4.3 @@ -29,6 +29,6 @@
     4.4  # Back to C if it's the last used locale.
     4.5  post_remove()
     4.6  {
     4.7 -	grep -q =$LOCALE /etc/locale.conf &&
     4.8 +	grep -qs =$LOCALE /etc/locale.conf &&
     4.9  	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
    4.10  }
     5.1 --- a/locale-de/receipt	Fri Nov 22 11:57:18 2019 +0100
     5.2 +++ b/locale-de/receipt	Fri Nov 22 12:30:25 2019 +0100
     5.3 @@ -29,6 +29,6 @@
     5.4  # Back to C if it's the last used locale.
     5.5  post_remove()
     5.6  {
     5.7 -	grep -q =$LOCALE /etc/locale.conf &&
     5.8 +	grep -qs =$LOCALE /etc/locale.conf &&
     5.9  	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
    5.10  }
     6.1 --- a/locale-el/receipt	Fri Nov 22 11:57:18 2019 +0100
     6.2 +++ b/locale-el/receipt	Fri Nov 22 12:30:25 2019 +0100
     6.3 @@ -29,6 +29,6 @@
     6.4  # Back to C if it's the last used locale.
     6.5  post_remove()
     6.6  {
     6.7 -	grep -q =$LOCALE /etc/locale.conf &&
     6.8 +	grep -qs =$LOCALE /etc/locale.conf &&
     6.9  	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
    6.10  }
     7.1 --- a/locale-en/receipt	Fri Nov 22 11:57:18 2019 +0100
     7.2 +++ b/locale-en/receipt	Fri Nov 22 12:30:25 2019 +0100
     7.3 @@ -29,6 +29,6 @@
     7.4  # Back to C if it's the last used locale.
     7.5  post_remove()
     7.6  {
     7.7 -	grep -q =$LOCALE /etc/locale.conf &&
     7.8 +	grep -qs =$LOCALE /etc/locale.conf &&
     7.9  	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
    7.10  }
     8.1 --- a/locale-es/receipt	Fri Nov 22 11:57:18 2019 +0100
     8.2 +++ b/locale-es/receipt	Fri Nov 22 12:30:25 2019 +0100
     8.3 @@ -29,6 +29,6 @@
     8.4  # Back to C if it's the last used locale.
     8.5  post_remove()
     8.6  {
     8.7 -	grep -q =$LOCALE /etc/locale.conf &&
     8.8 +	grep -qs =$LOCALE /etc/locale.conf &&
     8.9  	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
    8.10  }
     9.1 --- a/locale-fi/receipt	Fri Nov 22 11:57:18 2019 +0100
     9.2 +++ b/locale-fi/receipt	Fri Nov 22 12:30:25 2019 +0100
     9.3 @@ -29,6 +29,6 @@
     9.4  # Back to C if it's the last used locale.
     9.5  post_remove()
     9.6  {
     9.7 -	grep -q =$LOCALE /etc/locale.conf &&
     9.8 +	grep -qs =$LOCALE /etc/locale.conf &&
     9.9  	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
    9.10  }
    10.1 --- a/locale-fr/receipt	Fri Nov 22 11:57:18 2019 +0100
    10.2 +++ b/locale-fr/receipt	Fri Nov 22 12:30:25 2019 +0100
    10.3 @@ -29,7 +29,7 @@
    10.4  # Back to C if it's the last used locale.
    10.5  post_remove()
    10.6  {
    10.7 -	grep -q =$LOCALE /etc/locale.conf &&
    10.8 +	grep -qs =$LOCALE /etc/locale.conf &&
    10.9  	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   10.10  }
   10.11  
    11.1 --- a/locale-hr/receipt	Fri Nov 22 11:57:18 2019 +0100
    11.2 +++ b/locale-hr/receipt	Fri Nov 22 12:30:25 2019 +0100
    11.3 @@ -29,6 +29,6 @@
    11.4  # Back to C if it's the last used locale.
    11.5  post_remove()
    11.6  {
    11.7 -	grep -q =$LOCALE /etc/locale.conf &&
    11.8 +	grep -qs =$LOCALE /etc/locale.conf &&
    11.9  	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   11.10  }
    12.1 --- a/locale-hu/receipt	Fri Nov 22 11:57:18 2019 +0100
    12.2 +++ b/locale-hu/receipt	Fri Nov 22 12:30:25 2019 +0100
    12.3 @@ -29,7 +29,7 @@
    12.4  # Back to C if it's the last used locale.
    12.5  post_remove()
    12.6  {
    12.7 -	grep -q =$LOCALE /etc/locale.conf &&
    12.8 +	grep -qs =$LOCALE /etc/locale.conf &&
    12.9  	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   12.10  }
   12.11  
    13.1 --- a/locale-id/receipt	Fri Nov 22 11:57:18 2019 +0100
    13.2 +++ b/locale-id/receipt	Fri Nov 22 12:30:25 2019 +0100
    13.3 @@ -29,6 +29,6 @@
    13.4  # Back to C if it's the last used locale.
    13.5  post_remove()
    13.6  {
    13.7 -	grep -q =$LOCALE /etc/locale.conf &&
    13.8 +	grep -qs =$LOCALE /etc/locale.conf &&
    13.9  	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   13.10  }
    14.1 --- a/locale-is/receipt	Fri Nov 22 11:57:18 2019 +0100
    14.2 +++ b/locale-is/receipt	Fri Nov 22 12:30:25 2019 +0100
    14.3 @@ -29,6 +29,6 @@
    14.4  # Back to C if it's the last used locale.
    14.5  post_remove()
    14.6  {
    14.7 -	grep -q =$LOCALE /etc/locale.conf &&
    14.8 +	grep -qs =$LOCALE /etc/locale.conf &&
    14.9  	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   14.10  }
    15.1 --- a/locale-it/receipt	Fri Nov 22 11:57:18 2019 +0100
    15.2 +++ b/locale-it/receipt	Fri Nov 22 12:30:25 2019 +0100
    15.3 @@ -29,6 +29,6 @@
    15.4  # Back to C if it's the last used locale.
    15.5  post_remove()
    15.6  {
    15.7 -	grep -q =$LOCALE /etc/locale.conf &&
    15.8 +	grep -qs =$LOCALE /etc/locale.conf &&
    15.9  	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   15.10  }
    16.1 --- a/locale-ja/receipt	Fri Nov 22 11:57:18 2019 +0100
    16.2 +++ b/locale-ja/receipt	Fri Nov 22 12:30:25 2019 +0100
    16.3 @@ -29,6 +29,6 @@
    16.4  # Back to C if it's the last used locale.
    16.5  post_remove()
    16.6  {
    16.7 -	grep -q =$LOCALE /etc/locale.conf &&
    16.8 +	grep -qs =$LOCALE /etc/locale.conf &&
    16.9  	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   16.10  }
    17.1 --- a/locale-nb/receipt	Fri Nov 22 11:57:18 2019 +0100
    17.2 +++ b/locale-nb/receipt	Fri Nov 22 12:30:25 2019 +0100
    17.3 @@ -29,6 +29,6 @@
    17.4  # Back to C if it's the last used locale.
    17.5  post_remove()
    17.6  {
    17.7 -	grep -q =$LOCALE /etc/locale.conf &&
    17.8 +	grep -qs =$LOCALE /etc/locale.conf &&
    17.9  	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   17.10  }
    18.1 --- a/locale-nl/receipt	Fri Nov 22 11:57:18 2019 +0100
    18.2 +++ b/locale-nl/receipt	Fri Nov 22 12:30:25 2019 +0100
    18.3 @@ -29,6 +29,6 @@
    18.4  # Back to C if it's the last used locale.
    18.5  post_remove()
    18.6  {
    18.7 -	grep -q =$LOCALE /etc/locale.conf &&
    18.8 +	grep -qs =$LOCALE /etc/locale.conf &&
    18.9  	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   18.10  }
    19.1 --- a/locale-nn/receipt	Fri Nov 22 11:57:18 2019 +0100
    19.2 +++ b/locale-nn/receipt	Fri Nov 22 12:30:25 2019 +0100
    19.3 @@ -29,6 +29,6 @@
    19.4  # Back to C if it's the last used locale.
    19.5  post_remove()
    19.6  {
    19.7 -	grep -q =$LOCALE /etc/locale.conf &&
    19.8 +	grep -qs =$LOCALE /etc/locale.conf &&
    19.9  	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   19.10  }
    20.1 --- a/locale-pl/receipt	Fri Nov 22 11:57:18 2019 +0100
    20.2 +++ b/locale-pl/receipt	Fri Nov 22 12:30:25 2019 +0100
    20.3 @@ -29,6 +29,6 @@
    20.4  # Back to C if it's the last used locale.
    20.5  post_remove()
    20.6  {
    20.7 -	grep -q =$LOCALE /etc/locale.conf &&
    20.8 +	grep -qs =$LOCALE /etc/locale.conf &&
    20.9  	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   20.10  }
    21.1 --- a/locale-pt/receipt	Fri Nov 22 11:57:18 2019 +0100
    21.2 +++ b/locale-pt/receipt	Fri Nov 22 12:30:25 2019 +0100
    21.3 @@ -30,6 +30,6 @@
    21.4  # Back to C if it's the last used locale.
    21.5  post_remove()
    21.6  {
    21.7 -	grep -q =$LOCALE /etc/locale.conf &&
    21.8 +	grep -qs =$LOCALE /etc/locale.conf &&
    21.9  	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   21.10  }
    22.1 --- a/locale-pt_BR/receipt	Fri Nov 22 11:57:18 2019 +0100
    22.2 +++ b/locale-pt_BR/receipt	Fri Nov 22 12:30:25 2019 +0100
    22.3 @@ -29,6 +29,6 @@
    22.4  # Back to C if it's the last used locale.
    22.5  post_remove()
    22.6  {
    22.7 -	grep -q =$LOCALE /etc/locale.conf &&
    22.8 +	grep -qs =$LOCALE /etc/locale.conf &&
    22.9  	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   22.10  }
    23.1 --- a/locale-ro/receipt	Fri Nov 22 11:57:18 2019 +0100
    23.2 +++ b/locale-ro/receipt	Fri Nov 22 12:30:25 2019 +0100
    23.3 @@ -29,6 +29,6 @@
    23.4  # Back to C if it's the last used locale.
    23.5  post_remove()
    23.6  {
    23.7 -	grep -q =$LOCALE /etc/locale.conf &&
    23.8 +	grep -qs =$LOCALE /etc/locale.conf &&
    23.9  	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   23.10  }
    24.1 --- a/locale-ru/receipt	Fri Nov 22 11:57:18 2019 +0100
    24.2 +++ b/locale-ru/receipt	Fri Nov 22 12:30:25 2019 +0100
    24.3 @@ -29,6 +29,6 @@
    24.4  # Back to C if it's the last used locale.
    24.5  post_remove()
    24.6  {
    24.7 -	grep -q =$LOCALE /etc/locale.conf &&
    24.8 +	grep -qs =$LOCALE /etc/locale.conf &&
    24.9  	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   24.10  }
    25.1 --- a/locale-sl/receipt	Fri Nov 22 11:57:18 2019 +0100
    25.2 +++ b/locale-sl/receipt	Fri Nov 22 12:30:25 2019 +0100
    25.3 @@ -29,6 +29,6 @@
    25.4  # Back to C if it's the last used locale.
    25.5  post_remove()
    25.6  {
    25.7 -	grep -q =$LOCALE /etc/locale.conf &&
    25.8 +	grep -qs =$LOCALE /etc/locale.conf &&
    25.9  	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   25.10  }
    26.1 --- a/locale-sv/receipt	Fri Nov 22 11:57:18 2019 +0100
    26.2 +++ b/locale-sv/receipt	Fri Nov 22 12:30:25 2019 +0100
    26.3 @@ -29,6 +29,6 @@
    26.4  # Back to C if it's the last used locale.
    26.5  post_remove()
    26.6  {
    26.7 -	grep -q =$LOCALE /etc/locale.conf &&
    26.8 +	grep -qs =$LOCALE /etc/locale.conf &&
    26.9  	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   26.10  }
    27.1 --- a/locale-tr/receipt	Fri Nov 22 11:57:18 2019 +0100
    27.2 +++ b/locale-tr/receipt	Fri Nov 22 12:30:25 2019 +0100
    27.3 @@ -29,6 +29,6 @@
    27.4  # Back to C if it's the last used locale.
    27.5  post_remove()
    27.6  {
    27.7 -	grep -q =$LOCALE /etc/locale.conf &&
    27.8 +	grep -qs =$LOCALE /etc/locale.conf &&
    27.9  	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   27.10  }
    28.1 --- a/locale-uk/receipt	Fri Nov 22 11:57:18 2019 +0100
    28.2 +++ b/locale-uk/receipt	Fri Nov 22 12:30:25 2019 +0100
    28.3 @@ -29,6 +29,6 @@
    28.4  # Back to C if it's the last used locale.
    28.5  post_remove()
    28.6  {
    28.7 -	grep -q =$LOCALE /etc/locale.conf &&
    28.8 +	grep -qs =$LOCALE /etc/locale.conf &&
    28.9  	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   28.10  }
    29.1 --- a/locale-zh_CN/receipt	Fri Nov 22 11:57:18 2019 +0100
    29.2 +++ b/locale-zh_CN/receipt	Fri Nov 22 12:30:25 2019 +0100
    29.3 @@ -53,6 +53,6 @@
    29.4  # Back to C if it's the last used locale.
    29.5  post_remove()
    29.6  {
    29.7 -	grep -q =$LOCALE /etc/locale.conf &&
    29.8 +	grep -qs =$LOCALE /etc/locale.conf &&
    29.9  	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   29.10  }
    30.1 --- a/locale-zh_TW/receipt	Fri Nov 22 11:57:18 2019 +0100
    30.2 +++ b/locale-zh_TW/receipt	Fri Nov 22 12:30:25 2019 +0100
    30.3 @@ -29,6 +29,6 @@
    30.4  # Back to C if it's the last used locale.
    30.5  post_remove()
    30.6  {
    30.7 -	grep -q =$LOCALE /etc/locale.conf &&
    30.8 +	grep -qs =$LOCALE /etc/locale.conf &&
    30.9  	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   30.10  }