From ed2bfc923b2ebcb41dfd0197922c4ed90910eb82 Mon Sep 17 00:00:00 2001 From: Zeljko Boros Date: Wed, 12 May 2021 00:03:09 +0200 Subject: [PATCH] grep test postinst --- debian/postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/postinst b/debian/postinst index 8b39c78..ebdc8c4 100644 --- a/debian/postinst +++ b/debian/postinst @@ -20,7 +20,7 @@ fi # perl se buni ako nema postavljen defaultni locale # stavit cemo en_US.UTF-8 -if [ ! $(grep -q "^en_US.UTF-8 UTF-8" /etc/locale.gen) ]; then +if ! grep -q "^en_US.UTF-8 UTF-8" /etc/locale.gen; then # generirat cemo najpotrebnije locale (HR, EN, te HR.UTF i EN.UTF8) cp_check_and_sed '# en_US.UTF-8 UTF-8' \ 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/g' \ -- 1.7.10.4