aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2021-05-29 14:18:50 -0300
committerSilvio Rhatto <rhatto@riseup.net>2021-05-29 14:18:50 -0300
commitb25b3e64d580c2488371bb25ae2dc93ae3cec005 (patch)
tree3684f68e4405d18038493ce0793aa51e270ab05b
parent92ed3922f57ae63e7edf1f3cb916558eb2764d3e (diff)
downloadtrashman-b25b3e64d580c2488371bb25ae2dc93ae3cec005.tar.gz
trashman-b25b3e64d580c2488371bb25ae2dc93ae3cec005.tar.bz2
Fix: hoarder: irpf: minor correction (2)
-rwxr-xr-xshare/hoarder/irpf/unix/linux/install2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hoarder/irpf/unix/linux/install b/share/hoarder/irpf/unix/linux/install
index 0766fa6..7296f40 100755
--- a/share/hoarder/irpf/unix/linux/install
+++ b/share/hoarder/irpf/unix/linux/install
@@ -21,7 +21,7 @@ VERSION="1.6"
FILE="IRPF${YEAR}Linux-x86_64v${VERSION}.bin"
# Download
-cd $WORK &> /dev/null
+cd $WORK || exit 1
wget -c http://downloadirpf.receita.fazenda.gov.br/irpf/$YEAR/irpf/arquivos/$FILE || exit 1
cp $SHARE/irpf/unix/linux/hashes/* . || exit 1
sha1sum -c ${FILE}.sha1 || exit 1