mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
cleanup
This commit is contained in:
parent
d4397e7217
commit
8c000fd683
|
@ -1229,7 +1229,7 @@ using arguments or config files, or a mix of both:
|
||||||
|
|
||||||
**NB:** as humongous as this readme is, there is also a lot of undocumented features. Run copyparty with `--help` to see all available global options; all of those can be used in the `[global]` section of config files, and everything listed in `--help-flags` can be used in volumes as volflags.
|
**NB:** as humongous as this readme is, there is also a lot of undocumented features. Run copyparty with `--help` to see all available global options; all of those can be used in the `[global]` section of config files, and everything listed in `--help-flags` can be used in volumes as volflags.
|
||||||
* if running in docker/podman, try this: `docker run --rm -it copyparty/ac --help`
|
* if running in docker/podman, try this: `docker run --rm -it copyparty/ac --help`
|
||||||
* or see this (probably outdated): https://ocv.me/copyparty/helptext.html
|
* or see this: https://ocv.me/copyparty/helptext.html
|
||||||
* or if you prefer plaintext, https://ocv.me/copyparty/helptext.txt
|
* or if you prefer plaintext, https://ocv.me/copyparty/helptext.txt
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -29,15 +29,11 @@ update_mpr_pkgbuild() {
|
||||||
|
|
||||||
sha=$(sha256sum "$self/../dist/copyparty-$ver.tar.gz" | awk '{print$1}')
|
sha=$(sha256sum "$self/../dist/copyparty-$ver.tar.gz" | awk '{print$1}')
|
||||||
|
|
||||||
# awk -v ver=$ver -v sha=$sha '
|
awk -v ver=$ver -v sha=$sha '
|
||||||
# /^pkgver=/{sub(/[0-9\.]+/,ver)};
|
/^pkgver=/{sub(/[0-9\.]+/,ver)};
|
||||||
# /^sha256sums=/{sub(/[0-9a-f]{64}/,sha)};
|
/^sha256sums=/{sub(/[0-9a-f]{64}/,sha)};
|
||||||
# 1' PKGBUILD >a
|
1' PKGBUILD >a
|
||||||
# mv a PKGBUILD
|
mv a PKGBUILD
|
||||||
# TODO: check if this still works. if so, remove the following 2 lines:
|
|
||||||
|
|
||||||
sed -s -i "s/pkgver=\"\"/pkgver=\"$ver\"/" PKGBUILD
|
|
||||||
sed -s -i "s/sha256sums=(\".*\")/sha256sums=(\"$sha\")/" PKGBUILD
|
|
||||||
|
|
||||||
rm -rf x
|
rm -rf x
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue