summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoreolianoe2016-06-04 18:29:44 +0200
committereolianoe2016-06-04 18:29:44 +0200
commit6c9abc422bf65aac3d77aa7e7e510d0855d2f54c (patch)
treebe821c7a8434ef9a263bd4d9ce5e7f44dcf463a4
parent9cd2c75b3b7dd1dbae13b961275943c800e79628 (diff)
downloadaur-6c9abc422bf65aac3d77aa7e7e510d0855d2f54c.tar.gz
Get the right version for any LANG
-rwxr-xr-xseahub-preupgrade2
1 files changed, 1 insertions, 1 deletions
diff --git a/seahub-preupgrade b/seahub-preupgrade
index 574b3b4f4395..10241dc9e751 100755
--- a/seahub-preupgrade
+++ b/seahub-preupgrade
@@ -8,7 +8,7 @@ fi
echo "Please ensure that the seafile server is stopped, then press [ENTER] to proceed"
read
-SEAFILE_VERSION="$(pacman -Qi seafile-server | grep Version | sed 's|[^\n]*: \(.*\)-.*|\1|g')"
+SEAFILE_VERSION="$(LANG=C pacman -Qi seafile-server | grep Version | sed 's|[^\n]*: \(.*\)-.*|\1|g')"
echo "Preparing local seahub for upgrade..."