Skip to content
This repository has been archived by the owner on Feb 19, 2025. It is now read-only.

Commit

Permalink
add error message for installer
Browse files Browse the repository at this point in the history
  • Loading branch information
greyltc committed Jan 28, 2020
1 parent 1942fe9 commit b4e522e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ package() {
msg2 'Starting MATLAB installer'
"${srcdir}/install" -t -inputFile "${srcdir}/installer_input.txt" -mode silent &> /dev/null

if [ $? -eq 0 ]; then
msg2 'Matlab installer done without error'
else
meg2 'Error encountered while running matlab installer'
fi

msg2 'Installing license'
install -D -m644 "${pkgdir}/opt/tmw/${pkgname}/license_agreement.txt" "${pkgdir}/usr/share/licenses/tmw/${pkgname}/LICENSE"

Expand Down

0 comments on commit b4e522e

Please sign in to comment.