diff options
| author | MagomeYae <[email protected]> | 2021-12-10 00:27:56 +0800 |
|---|---|---|
| committer | MagomeYae <[email protected]> | 2021-12-10 00:27:56 +0800 |
| commit | 84a71e61c3a8674c9cee6f30240fb4d86cc1dc04 (patch) | |
| tree | 1f44538006794cdf28526fc82c6e08ff3685b079 /repo | |
| parent | a7d62b5f7c95efe962f359b6db07c08342974502 (diff) | |
fix(pkg): Fix ksutils-github-webhook wrong directory path
Signed-off-by: MagomeYae <[email protected]>
Diffstat (limited to 'repo')
| -rw-r--r-- | repo/ksutils-github-webhook/PKGBUILD | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/repo/ksutils-github-webhook/PKGBUILD b/repo/ksutils-github-webhook/PKGBUILD index 5779484..3ded77b 100644 --- a/repo/ksutils-github-webhook/PKGBUILD +++ b/repo/ksutils-github-webhook/PKGBUILD @@ -1,5 +1,6 @@ # Maintainer: KunoiSayami <[email protected]> +_original_name=github-webhook-notification _basename=github-webhook pkgname=ksutils-$_basename pkgver=1.0.0 @@ -31,7 +32,7 @@ package() { install -dm755 "$pkgdir"/usr/bin install -dm755 "$pkgdir"/usr/lib/systemd/system - install -m755 "$_basename"/target/release/"$_basename" "$pkgdir"/usr/bin/"$pkgname" + install -m755 "$pkgname"/target/release/"$_original_name" "$pkgdir"/usr/bin/"$pkgname" install -m600 default.toml "$pkgdir"/etc/ksutils/$_basename/ install -m644 "[email protected]" "$pkgdir"/usr/lib/systemd/system/ } |
