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
|
#!/bin/bash
|
||||||
set +e
|
set -e
|
||||||
if [[ -f "/usr/local/bin/xmousepasteblock" ]]; then
|
if [[ -f "/usr/local/bin/xmousepasteblock" ]]; then
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
apt -y remove build-essential git pkg-config *-dev
|
apt -y remove build-essential git pkg-config *-dev
|
||||||
apt -y autoremove
|
apt -y autoremove
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set +e
|
set -e
|
||||||
if [[ -f "/usr/local/bin/ksuperkey" ]]; then
|
if [[ -f "/usr/local/bin/ksuperkey" ]]; then
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
@ -1 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
apt install -y --download-only cryptsetup cryptsetup-initramfs
|
apt install -y --download-only cryptsetup cryptsetup-initramfs
|
@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
echo "deb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main" >>"/etc/apt/sources.list"
|
echo "deb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main" >>"/etc/apt/sources.list"
|
||||||
apt -y install dirmngr
|
apt -y install dirmngr
|
||||||
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 2667CA5C
|
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 2667CA5C
|
||||||
|
Loading…
Reference in New Issue
Block a user