diff options
author | Grey Christoforo | 2020-01-28 13:22:48 +0000 |
---|---|---|
committer | Grey Christoforo | 2020-01-28 13:22:48 +0000 |
commit | b4e522e498edfeab667481149b6917795801eca5 (patch) | |
tree | cc1439f11e4d2847007bf80228b4cdaf0121c53d | |
parent | 1942fe9204c3a50f26d3bc61bbb3d189fc9b9c99 (diff) | |
download | aur-b4e522e498edfeab667481149b6917795801eca5.tar.gz |
add error message for installer
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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" |