diff options
author | Matheus Gabriel Werny de Lima | 2021-05-22 13:15:00 +0200 |
---|---|---|
committer | Matheus Gabriel Werny de Lima | 2021-05-22 13:15:00 +0200 |
commit | 5362414b3582db1afa8a9b3528ba63f034ec8634 (patch) | |
tree | fafff5e74f6b8147fe2e06052e0c77da24c196d6 | |
parent | d246672d1b2728aff677b9d3872dc36d4e35de76 (diff) | |
download | aur-5362414b3582db1afa8a9b3528ba63f034ec8634.tar.gz |
Changed the executable.
-rwxr-xr-x | PKGBUILD | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -75,15 +75,12 @@ package() mkdir -p "${pkgdir}"/usr/share/doc/"${_pkgname}"/ mkdir -p "${pkgdir}"/usr/share/licenses/"${_pkgname}"/ - # Modify run.sh to state the absolute path of the .csproj. - echo -e "#!/bin/bash -dotnet run --no-launch-profile --no-build -c Release -p \"/usr/share/\"${_pkgname}\"/NBXplorer/NBXplorer.csproj\" -- \"\${@}\"" > "${srcdir}"/"${_pkgname}"/run.sh - # Install the software. cp -r "${srcdir}"/"${_pkgname}"/ "${pkgdir}"/usr/share/ ## Create an executable. - ln -sfrT "${pkgdir}"/usr/share/"${_pkgname}"/run.sh "${pkgdir}"/usr/bin/"${_pkgname_lc}" + echo -e "#!/bin/bash +dotnet run --no-launch-profile --no-build -c Release -p \"/usr/share/\"${_pkgname}\"/NBXplorer/NBXplorer.csproj\" -- \"\${@}\"" > "${pkgdir}"/usr/bin/"${_pkgname_lc}" chmod 755 "${pkgdir}"/usr/bin/"${_pkgname_lc}" # Install the documentation. |