diff options
author | Matheus Gabriel Werny de Lima | 2021-02-26 11:58:27 +0100 |
---|---|---|
committer | Matheus Gabriel Werny de Lima | 2021-02-26 11:58:27 +0100 |
commit | b52afc1881ae91b771a948dbadc5bc1f0d0b9a96 (patch) | |
tree | 193bf7e25da78006df7258054a095d92f962327b | |
parent | cdc1eac5151c93c49ec942a6bd2d644f1d391110 (diff) | |
download | aur-b52afc1881ae91b771a948dbadc5bc1f0d0b9a96.tar.gz |
Update.
-rwxr-xr-x | PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -74,13 +74,13 @@ package() cp -r ${srcdir}/${_pkgname}/ ${pkgdir}/usr/lib/ # Symlinking run.sh to /usr/bin/${_pkgname_lc}. - ln -rTsf ${pkgdir}/usr/lib/${_pkgname}/run.sh ${pkgdir}/usr/bin/${_pkgname_lc} + ln -s ${pkgdir}/usr/lib/${_pkgname}/run.sh ${pkgdir}/usr/bin/${_pkgname_lc} chmod 755 ${pkgdir}/usr/bin/${_pkgname_lc} - # Install the systemd service. + # Install the systemd service and enable necessary services. install -Dm644 ${pkgdir}/usr/lib/${_pkgname}/${_pkgname_lc}.service ${pkgdir}/usr/lib/systemd/system/ - sudo systemctl enable bitcoind.service - sudo systemctl enable ${_pkgname_lc}.service + ln -sf ${pkgdir}/usr/lib/systemd/system/bitcoind.service ${pkgdir}/etc/systemd/system/multi-user.target.wants/ + ln -sf ${pkgdir}/usr/lib/systemd/system/${_pkgname_lc}.service ${pkgdir}/etc/systemd/system/multi-user.target.wants/ # Install the documentation. install -Dm644 ${pkgdir}/usr/lib/${_pkgname}/README.md ${pkgdir}/usr/share/doc/${_pkgname}/ |