aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-05-03 11:09:34 +0200
committerKarel Kočí <cynerd@email.cz>2017-05-03 11:09:34 +0200
commit1a1dd59b890504ef29f0cc6b303c1b16c94b7753 (patch)
treecf40bf71945ed5ee49414de783ea0098274a6bb7 /utils
parenta2470a03197893500545e0b33892414ace204c36 (diff)
downloadmyconfigs-1a1dd59b890504ef29f0cc6b303c1b16c94b7753.tar.gz
myconfigs-1a1dd59b890504ef29f0cc6b303c1b16c94b7753.tar.bz2
myconfigs-1a1dd59b890504ef29f0cc6b303c1b16c94b7753.zip
Some fixes and update gtk configuration
Diffstat (limited to 'utils')
-rw-r--r--utils/inst4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/inst b/utils/inst
index 7fd648f..2dbf474 100644
--- a/utils/inst
+++ b/utils/inst
@@ -4,7 +4,7 @@
ask() {
echo -ne "\e[1;34m$1 (Y/n) \e[0m"
read
- return [[ $REPLY =~ ^[Yy]?$ ]]
+ [[ $REPLY =~ ^[Yy]?$ ]]
}
dodiff() {
@@ -22,7 +22,7 @@ dodiff() {
fi
return
fi
- if cmp "$1" "$OUT" >/dev/null; then
+ if cmp "$1" "$OUT" >/dev/null 2>&1; then
echo -e "\e[1;32mNo difference detected:\e[0m $OUT"
return
fi