blob: bacb90a4ca2260080004b506533c43ae9de42841 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
diff -ur old/reddio new/reddio
--- old/reddio 2019-08-24 14:59:17.992503592 +0200
+++ new/reddio 2019-08-24 15:00:06.863109059 +0200
@@ -185,7 +185,7 @@
load_config "$config_file"
# Environment variable has precedence over config
- lib_dir=${REDDIO_LIB:-${lib_dir:-/usr/local/share/reddio}}
+ lib_dir=${REDDIO_LIB:-${lib_dir:-/usr/share/reddio}}
# Make sure the lib directory can be found
[ -d "$lib_dir" ] \
diff -ur old/share/reddio/pretty-time.sh new/share/reddio/pretty-time.sh
--- old/share/reddio/pretty-time.sh 2019-08-24 14:59:37.992753822 +0200
+++ new/share/reddio/pretty-time.sh 2019-08-24 15:00:26.673348916 +0200
@@ -41,9 +41,9 @@
# Fractions greater than 95 will round up to a whole number
# We do not want to show the .0
elif [ "$_frac" -gt 95 ]; then
- printf '%.0f %ss ago\n' $_int.$_frac $2
+ LC_NUMERIC=C printf '%.0f %ss ago\n' $_int.$_frac $2
# Everything else is shown with one decimal
else
- printf '%.1f %ss ago\n' $_int.$_frac $2
+ LC_NUMERIC=C printf '%.1f %ss ago\n' $_int.$_frac $2
fi
}
|