Add "set -e" to chroot-scripts for better error-handling
This commit is contained in:
parent
b742a52d3f
commit
6583b436f0
@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
set +e
|
||||
set -e
|
||||
if [[ -f "/usr/local/bin/xmousepasteblock" ]]; then
|
||||
exit
|
||||
fi
|
||||
|
@ -1,3 +1,4 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
apt -y remove build-essential git pkg-config *-dev
|
||||
apt -y autoremove
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
set +e
|
||||
set -e
|
||||
if [[ -f "/usr/local/bin/ksuperkey" ]]; then
|
||||
exit
|
||||
fi
|
||||
|
@ -1 +1,3 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
apt install -y --download-only cryptsetup cryptsetup-initramfs
|
@ -1,4 +1,5 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
echo "deb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main" >>"/etc/apt/sources.list"
|
||||
apt -y install dirmngr
|
||||
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 2667CA5C
|
||||
|
Loading…
Reference in New Issue
Block a user