This is a forked version of the official papatcher that make a couple of changes to better support rootless container/Docker setups:
- Allow configuring the cache directory using
-cachedir - Only require a user to exist if either
-diror-cachedirare prefixed with~(home directory)- If
papatcherfails because a user doesn't exist, specify exact paths for-dirand-cachedir
- If
It also fixes a certificate issue when contacting PA services by instead relying on the OS certificate store.
go install github.com/xanderxaj/papatcher@main$ papatcher -h
Usage of papatcher:
-cachedir string
Cache directory
-dev
Use PAnet dev environment
-dir string
Target directory to patch
-password string
-quiet
No status updates
-stream string
Stream to download/update (default "stable")
-update-only
Only do an update, don't launch
-username string