# HG changeset patch # User Pascal Bellard # Date 1553543434 -3600 # Node ID a52ffca61a1d8a871c5034e8d1f1ae5797ea043a # Parent 01a2ec0efad211190215829369ce93c9d387ecf9 locale-*: update post_remove diff -r 01a2ec0efad2 -r a52ffca61a1d locale-ar/receipt --- a/locale-ar/receipt Sat Mar 23 16:05:05 2019 +0100 +++ b/locale-ar/receipt Mon Mar 25 20:50:34 2019 +0100 @@ -28,5 +28,6 @@ # Back to C if it's the last used locale. post_remove() { + grep -q =$LOCALE /etc/locale.conf && echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf } diff -r 01a2ec0efad2 -r a52ffca61a1d locale-ca/receipt --- a/locale-ca/receipt Sat Mar 23 16:05:05 2019 +0100 +++ b/locale-ca/receipt Mon Mar 25 20:50:34 2019 +0100 @@ -29,5 +29,6 @@ # Back to C if it's the last used locale. post_remove() { + grep -q =$LOCALE /etc/locale.conf && echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf } diff -r 01a2ec0efad2 -r a52ffca61a1d locale-cs/receipt --- a/locale-cs/receipt Sat Mar 23 16:05:05 2019 +0100 +++ b/locale-cs/receipt Mon Mar 25 20:50:34 2019 +0100 @@ -29,5 +29,6 @@ # Back to C if it's the last used locale. post_remove() { + grep -q =$LOCALE /etc/locale.conf && echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf } diff -r 01a2ec0efad2 -r a52ffca61a1d locale-da/receipt --- a/locale-da/receipt Sat Mar 23 16:05:05 2019 +0100 +++ b/locale-da/receipt Mon Mar 25 20:50:34 2019 +0100 @@ -29,5 +29,6 @@ # Back to C if it's the last used locale. post_remove() { + grep -q =$LOCALE /etc/locale.conf && echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf } diff -r 01a2ec0efad2 -r a52ffca61a1d locale-de/receipt --- a/locale-de/receipt Sat Mar 23 16:05:05 2019 +0100 +++ b/locale-de/receipt Mon Mar 25 20:50:34 2019 +0100 @@ -29,5 +29,6 @@ # Back to C if it's the last used locale. post_remove() { + grep -q =$LOCALE /etc/locale.conf && echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf } diff -r 01a2ec0efad2 -r a52ffca61a1d locale-el/receipt --- a/locale-el/receipt Sat Mar 23 16:05:05 2019 +0100 +++ b/locale-el/receipt Mon Mar 25 20:50:34 2019 +0100 @@ -29,5 +29,6 @@ # Back to C if it's the last used locale. post_remove() { + grep -q =$LOCALE /etc/locale.conf && echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf } diff -r 01a2ec0efad2 -r a52ffca61a1d locale-en/receipt --- a/locale-en/receipt Sat Mar 23 16:05:05 2019 +0100 +++ b/locale-en/receipt Mon Mar 25 20:50:34 2019 +0100 @@ -29,5 +29,6 @@ # Back to C if it's the last used locale. post_remove() { + grep -q =$LOCALE /etc/locale.conf && echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf } diff -r 01a2ec0efad2 -r a52ffca61a1d locale-es/receipt --- a/locale-es/receipt Sat Mar 23 16:05:05 2019 +0100 +++ b/locale-es/receipt Mon Mar 25 20:50:34 2019 +0100 @@ -29,5 +29,6 @@ # Back to C if it's the last used locale. post_remove() { + grep -q =$LOCALE /etc/locale.conf && echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf } diff -r 01a2ec0efad2 -r a52ffca61a1d locale-fi/receipt --- a/locale-fi/receipt Sat Mar 23 16:05:05 2019 +0100 +++ b/locale-fi/receipt Mon Mar 25 20:50:34 2019 +0100 @@ -29,5 +29,6 @@ # Back to C if it's the last used locale. post_remove() { + grep -q =$LOCALE /etc/locale.conf && echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf } diff -r 01a2ec0efad2 -r a52ffca61a1d locale-fr/receipt --- a/locale-fr/receipt Sat Mar 23 16:05:05 2019 +0100 +++ b/locale-fr/receipt Mon Mar 25 20:50:34 2019 +0100 @@ -29,6 +29,7 @@ # Back to C if it's the last used locale. post_remove() { + grep -q =$LOCALE /etc/locale.conf && echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf } diff -r 01a2ec0efad2 -r a52ffca61a1d locale-hr/receipt --- a/locale-hr/receipt Sat Mar 23 16:05:05 2019 +0100 +++ b/locale-hr/receipt Mon Mar 25 20:50:34 2019 +0100 @@ -29,5 +29,6 @@ # Back to C if it's the last used locale. post_remove() { + grep -q =$LOCALE /etc/locale.conf && echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf } diff -r 01a2ec0efad2 -r a52ffca61a1d locale-hu/receipt --- a/locale-hu/receipt Sat Mar 23 16:05:05 2019 +0100 +++ b/locale-hu/receipt Mon Mar 25 20:50:34 2019 +0100 @@ -29,6 +29,7 @@ # Back to C if it's the last used locale. post_remove() { + grep -q =$LOCALE /etc/locale.conf && echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf } diff -r 01a2ec0efad2 -r a52ffca61a1d locale-id/receipt --- a/locale-id/receipt Sat Mar 23 16:05:05 2019 +0100 +++ b/locale-id/receipt Mon Mar 25 20:50:34 2019 +0100 @@ -29,5 +29,6 @@ # Back to C if it's the last used locale. post_remove() { + grep -q =$LOCALE /etc/locale.conf && echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf } diff -r 01a2ec0efad2 -r a52ffca61a1d locale-is/receipt --- a/locale-is/receipt Sat Mar 23 16:05:05 2019 +0100 +++ b/locale-is/receipt Mon Mar 25 20:50:34 2019 +0100 @@ -29,5 +29,6 @@ # Back to C if it's the last used locale. post_remove() { + grep -q =$LOCALE /etc/locale.conf && echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf } diff -r 01a2ec0efad2 -r a52ffca61a1d locale-it/receipt --- a/locale-it/receipt Sat Mar 23 16:05:05 2019 +0100 +++ b/locale-it/receipt Mon Mar 25 20:50:34 2019 +0100 @@ -29,5 +29,6 @@ # Back to C if it's the last used locale. post_remove() { + grep -q =$LOCALE /etc/locale.conf && echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf } diff -r 01a2ec0efad2 -r a52ffca61a1d locale-ja/receipt --- a/locale-ja/receipt Sat Mar 23 16:05:05 2019 +0100 +++ b/locale-ja/receipt Mon Mar 25 20:50:34 2019 +0100 @@ -29,5 +29,6 @@ # Back to C if it's the last used locale. post_remove() { + grep -q =$LOCALE /etc/locale.conf && echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf } diff -r 01a2ec0efad2 -r a52ffca61a1d locale-nb/receipt --- a/locale-nb/receipt Sat Mar 23 16:05:05 2019 +0100 +++ b/locale-nb/receipt Mon Mar 25 20:50:34 2019 +0100 @@ -29,5 +29,6 @@ # Back to C if it's the last used locale. post_remove() { + grep -q =$LOCALE /etc/locale.conf && echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf } diff -r 01a2ec0efad2 -r a52ffca61a1d locale-nl/receipt --- a/locale-nl/receipt Sat Mar 23 16:05:05 2019 +0100 +++ b/locale-nl/receipt Mon Mar 25 20:50:34 2019 +0100 @@ -29,5 +29,6 @@ # Back to C if it's the last used locale. post_remove() { + grep -q =$LOCALE /etc/locale.conf && echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf } diff -r 01a2ec0efad2 -r a52ffca61a1d locale-nn/receipt --- a/locale-nn/receipt Sat Mar 23 16:05:05 2019 +0100 +++ b/locale-nn/receipt Mon Mar 25 20:50:34 2019 +0100 @@ -29,5 +29,6 @@ # Back to C if it's the last used locale. post_remove() { + grep -q =$LOCALE /etc/locale.conf && echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf } diff -r 01a2ec0efad2 -r a52ffca61a1d locale-pl/receipt --- a/locale-pl/receipt Sat Mar 23 16:05:05 2019 +0100 +++ b/locale-pl/receipt Mon Mar 25 20:50:34 2019 +0100 @@ -29,5 +29,6 @@ # Back to C if it's the last used locale. post_remove() { + grep -q =$LOCALE /etc/locale.conf && echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf } diff -r 01a2ec0efad2 -r a52ffca61a1d locale-pt/receipt --- a/locale-pt/receipt Sat Mar 23 16:05:05 2019 +0100 +++ b/locale-pt/receipt Mon Mar 25 20:50:34 2019 +0100 @@ -30,5 +30,6 @@ # Back to C if it's the last used locale. post_remove() { + grep -q =$LOCALE /etc/locale.conf && echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf } diff -r 01a2ec0efad2 -r a52ffca61a1d locale-pt_BR/receipt --- a/locale-pt_BR/receipt Sat Mar 23 16:05:05 2019 +0100 +++ b/locale-pt_BR/receipt Mon Mar 25 20:50:34 2019 +0100 @@ -29,5 +29,6 @@ # Back to C if it's the last used locale. post_remove() { + grep -q =$LOCALE /etc/locale.conf && echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf } diff -r 01a2ec0efad2 -r a52ffca61a1d locale-ro/receipt --- a/locale-ro/receipt Sat Mar 23 16:05:05 2019 +0100 +++ b/locale-ro/receipt Mon Mar 25 20:50:34 2019 +0100 @@ -29,5 +29,6 @@ # Back to C if it's the last used locale. post_remove() { + grep -q =$LOCALE /etc/locale.conf && echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf } diff -r 01a2ec0efad2 -r a52ffca61a1d locale-ru/receipt --- a/locale-ru/receipt Sat Mar 23 16:05:05 2019 +0100 +++ b/locale-ru/receipt Mon Mar 25 20:50:34 2019 +0100 @@ -29,5 +29,6 @@ # Back to C if it's the last used locale. post_remove() { + grep -q =$LOCALE /etc/locale.conf && echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf } diff -r 01a2ec0efad2 -r a52ffca61a1d locale-sl/receipt --- a/locale-sl/receipt Sat Mar 23 16:05:05 2019 +0100 +++ b/locale-sl/receipt Mon Mar 25 20:50:34 2019 +0100 @@ -29,5 +29,6 @@ # Back to C if it's the last used locale. post_remove() { + grep -q =$LOCALE /etc/locale.conf && echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf } diff -r 01a2ec0efad2 -r a52ffca61a1d locale-sv/receipt --- a/locale-sv/receipt Sat Mar 23 16:05:05 2019 +0100 +++ b/locale-sv/receipt Mon Mar 25 20:50:34 2019 +0100 @@ -29,5 +29,6 @@ # Back to C if it's the last used locale. post_remove() { + grep -q =$LOCALE /etc/locale.conf && echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf } diff -r 01a2ec0efad2 -r a52ffca61a1d locale-tr/receipt --- a/locale-tr/receipt Sat Mar 23 16:05:05 2019 +0100 +++ b/locale-tr/receipt Mon Mar 25 20:50:34 2019 +0100 @@ -29,5 +29,6 @@ # Back to C if it's the last used locale. post_remove() { + grep -q =$LOCALE /etc/locale.conf && echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf } diff -r 01a2ec0efad2 -r a52ffca61a1d locale-uk/receipt --- a/locale-uk/receipt Sat Mar 23 16:05:05 2019 +0100 +++ b/locale-uk/receipt Mon Mar 25 20:50:34 2019 +0100 @@ -29,5 +29,6 @@ # Back to C if it's the last used locale. post_remove() { + grep -q =$LOCALE /etc/locale.conf && echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf } diff -r 01a2ec0efad2 -r a52ffca61a1d locale-zh_CN/receipt --- a/locale-zh_CN/receipt Sat Mar 23 16:05:05 2019 +0100 +++ b/locale-zh_CN/receipt Mon Mar 25 20:50:34 2019 +0100 @@ -53,5 +53,6 @@ # Back to C if it's the last used locale. post_remove() { + grep -q =$LOCALE /etc/locale.conf && echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf } diff -r 01a2ec0efad2 -r a52ffca61a1d locale-zh_TW/receipt --- a/locale-zh_TW/receipt Sat Mar 23 16:05:05 2019 +0100 +++ b/locale-zh_TW/receipt Mon Mar 25 20:50:34 2019 +0100 @@ -29,5 +29,6 @@ # Back to C if it's the last used locale. post_remove() { + grep -q =$LOCALE /etc/locale.conf && echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf }