sync ports with The Matrix
This commit is contained in:
parent
cd3adfb9f5
commit
74706e64f4
227 changed files with 6603 additions and 5510 deletions
20
databases/barman/patches/patch-barman_fs_py
Normal file
20
databases/barman/patches/patch-barman_fs_py
Normal file
|
@ -0,0 +1,20 @@
|
|||
Index: barman/fs.py
|
||||
--- barman/fs.py.orig
|
||||
+++ barman/fs.py
|
||||
@@ -19,6 +19,7 @@
|
||||
import logging
|
||||
import re
|
||||
import shutil
|
||||
+import sys
|
||||
from abc import ABCMeta, abstractmethod
|
||||
|
||||
from barman import output
|
||||
@@ -147,7 +148,7 @@ class UnixLocalCommand(object):
|
||||
if not self.exists(path):
|
||||
raise FsOperationFailed("Following path does not exist: %s" % path)
|
||||
args = ["-c", "%a", path]
|
||||
- if self.is_osx():
|
||||
+ if self.is_osx() or sys.platform.startswith("openbsd"):
|
||||
print("is osx")
|
||||
args = ["-f", "%Lp", path]
|
||||
cmd_ret = self.cmd("stat", args=args)
|
Loading…
Add table
Add a link
Reference in a new issue