mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 00:52:16 -06:00
(scripts/prep.sh) update
i forgot to follow the style woops Signed-off-by: Beethoven <44652883+Beethoven-n@users.noreply.github.com>
This commit is contained in:
parent
c69c7c8ac0
commit
c805c60f40
|
@ -34,10 +34,10 @@ update_mpr_pkgbuild() {
|
|||
# /^sha256sums=/{sub(/[0-9a-f]{64}/,sha)};
|
||||
# 1' PKGBUILD >a
|
||||
# mv a PKGBUILD
|
||||
|
||||
echo thing 1
|
||||
sed -s -i "s/pkgver=\"\"/pkgver=\"$ver\"/" PKGBUILD
|
||||
sed -s -i "s/sha256sums=(\".*\")/sha256sums=(\"$sha\")/" 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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue