mirror of
https://github.com/tommytran732/Arch-Setup-Script
synced 2024-12-21 06:31:33 -05:00
Add set -u
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
4b7a2682bd
commit
2dec8b859f
@ -15,7 +15,7 @@
|
||||
|
||||
# Make sure secureboot is in setup mode before running this
|
||||
|
||||
set -e
|
||||
set -eu
|
||||
|
||||
# Secure boot enrollment
|
||||
sudo sbctl enroll-keys
|
||||
|
@ -14,6 +14,8 @@
|
||||
# License for the specific language governing permissions and limitations under
|
||||
# the License.
|
||||
|
||||
set -u
|
||||
|
||||
output(){
|
||||
printf '\e[1;34m%-6s\e[m\n' "${@}"
|
||||
}
|
||||
|
@ -13,7 +13,7 @@
|
||||
# License for the specific language governing permissions and limitations under
|
||||
# the License.
|
||||
|
||||
set -e
|
||||
set -eu
|
||||
|
||||
# Install new grub version
|
||||
sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB --disable-shim-lock
|
||||
|
Loading…
Reference in New Issue
Block a user