X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=carnet-upgrade.git;a=blobdiff_plain;f=debian%2Fpostinst;fp=debian%2Fpostinst;h=ebdc8c462c0c550de85b77d50463072372ad1839;hp=8b39c78d016a828e38cec1616cf67fff73d085f6;hb=ed2bfc923b2ebcb41dfd0197922c4ed90910eb82;hpb=bd144274742b514752491be997e910bf2aaaeb08 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' \