aboutsummaryrefslogtreecommitdiffsponsor
path: root/README.md
diff options
context:
space:
mode:
authorSlack Coder <slackcoder@server.ky>2022-05-19 15:39:24 -0500
committerSlack Coder <slackcoder@server.ky>2022-05-20 15:06:50 -0500
commita1e7249e712bfc7bbcf6275bdd87f2343d60f81a (patch)
treea8827ba2b8701640bfdb4cbe6f148ad5055147cd /README.md
parent3026d40715e2758bc9ddfbd98acb558cfcba3c5d (diff)
downloadpkgtools-go-a1e7249e712bfc7bbcf6275bdd87f2343d60f81a.tar.xz
bail out on unknown package attributes
Be freindlier to the user by clearly communicating and refusing to install packages we do not know how to install. Add an environment variable allowing users to opt out and silently ignore errors if they so choose.
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/README.md b/README.md
index 2084198..8144a5d 100644
--- a/README.md
+++ b/README.md
@@ -63,3 +63,16 @@ These tools will likely not be included:
- makepkg
- pkgdiff
- pkgtool
+
+## Operation Notes
+
+### Unsupported tar attributes
+
+These tools will exit with error in the unlikely event the package has
+unsupported file attributes, like PAX. You can opt to ignore them via an
+environment variable.
+
+```
+ export PKGTOOLS_GO_STRICT=NO
+ installpkg some-cool-package.txz
+```