Skip to content

Commit 52effab

Browse files
coadlerstuartpb
andcommitted
Fix symlinks when copying service files
Co-authored-by: stuartpb <s@stuartpb.com>
1 parent 6ae91a6 commit 52effab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PKGBUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ package() {
4040
ln -s "/usr/lib/$pkgname/bin/$pkgname" "$pkgdir/usr/bin/$pkgname"
4141

4242
mkdir -p "$pkgdir/usr/lib/systemd/system"
43-
cp -a "$pkgname-$pkgver@.service" "$pkgdir/usr/lib/systemd/system/$pkgname@.service"
43+
cp -aL "$pkgname-$pkgver@.service" "$pkgdir/usr/lib/systemd/system/$pkgname@.service"
4444

4545
mkdir -p "$pkgdir/usr/lib/systemd/user"
46-
cp -a "$pkgname-$pkgver-user.service" "$pkgdir/usr/lib/systemd/user/$pkgname.service"
46+
cp -aL "$pkgname-$pkgver-user.service" "$pkgdir/usr/lib/systemd/user/$pkgname.service"
4747

4848
mkdir -p "$pkgdir/usr/share/licenses"
4949
cp -a "$release_name/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname"

0 commit comments

Comments
 (0)