summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--bs.install2
2 files changed, 2 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 28e1a0120191..d37d0995951f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Tue Dec 22 04:32:53 UTC 2015
+# Wed Dec 23 19:28:30 UTC 2015
pkgbase = libbitcoin-server-git
pkgdesc = Bitcoin Full Node and Query Server
pkgver = 20151221
diff --git a/bs.install b/bs.install
index 74e16de1f9fc..994e00ce0e63 100644
--- a/bs.install
+++ b/bs.install
@@ -44,7 +44,7 @@ _rmuser() {
# check if dir is btrfs
_is_btrfs() {
- if [[ $(df -TP "$1" | tail -n 1 | awk '{print $2}') == 'btrfs' ]]; then
+ if [[ $(findmnt --target $1 --output FSTYPE --noheadings) == 'btrfs' ]]; then
return 0
else
return 1