Exit on error

This commit is contained in:
askiiart 2023-09-10 20:41:11 -05:00
parent 22a6234765
commit 63eade450d
No known key found for this signature in database
GPG key ID: C89CBC4F981EE719
2 changed files with 2 additions and 0 deletions

View file

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
set -e
apt-get update apt-get update
apt-get install curl apt-get install curl

View file

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
set -e
apt-get update apt-get update
apt-get install -y curl apt-get install -y curl
apt-get install -y createrepo-c apt-get install -y createrepo-c