projects
/
carnet-upgrade.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd14427
)
grep test postinst
author
Zeljko Boros
<Zeljko.Boros@carnet.hr>
Tue, 11 May 2021 22:03:09 +0000
(
00:03
+0200)
committer
Zeljko Boros
<Zeljko.Boros@carnet.hr>
Tue, 11 May 2021 22:03:09 +0000
(
00:03
+0200)
debian/postinst
patch
|
blob
|
history
diff --git
a/debian/postinst
b/debian/postinst
index
8b39c78
..
ebdc8c4
100644
(file)
--- 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' \