diff options
author | Томас | 2022-04-08 16:20:06 -0500 |
---|---|---|
committer | Томас | 2022-04-08 16:20:06 -0500 |
commit | 9efc17ca372da6b3166ca9f8625ed36b01b2ba3b (patch) | |
tree | 71e2c89f42cd4d2abcba0d11ce96d5b00f2a33cd | |
parent | 99ecd0c575c9ea76a17464a37c2a96ec207df538 (diff) | |
download | aur-9efc17ca372da6b3166ca9f8625ed36b01b2ba3b.tar.gz |
Fixed upstream source file directory
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -22,12 +22,12 @@ package() { cd "$srcdir" || exit 1 bsdtar -xf data.tar.xz -C "$pkgdir" - install -Dm644 "$pkgdir/opt/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm644 "$pkgdir/opt/chef/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" mkdir -p "$pkgdir/usr/bin" binaries="chef-apply chef-shell knife chef-client chef-solo ohai" for binary in $binaries; do - ln -s "/opt/$pkgname/bin/$binary" "$pkgdir/usr/bin/" || error_exit "Cannot link $binary to /usr/bin" + ln -s "/opt/chef/bin/$binary" "$pkgdir/usr/bin/" || error_exit "Cannot link $binary to /usr/bin" done chown -Rh 0:0 "$pkgdir" |