Bash error handling
This commit is contained in:
parent
c645e81256
commit
80e04e0b70
@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
#DO NOT MAKE CHANGES TO THE INSTALL SCRIPT HERE. USE arcolinux-config.sh IN ~/scripts FOR THAT
|
||||
|
||||
#change to home (does not show in terminal)
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
#ANY CHANGES TO THE INSTALLATION PROCEDURE SHOULD BE MADE HERE
|
||||
|
||||
#change to home (does not show in terminal)
|
||||
|
@ -1,4 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
rm -rvf $HOME/.local/share/Trash
|
||||
rm -rvf /mnt/1d90c4d5-21d2-4455-bb4a-814de8496744/.Trash-1000/
|
@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
# You can call this script like this:
|
||||
# $./dunst-backlight.sh up
|
||||
# $./dunst-backlight.sh down
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
# You can call this script like this:
|
||||
# $./dunst-volume.sh up
|
||||
# $./dunst-volume.sh down
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
cd "$HOME/GitProjects/config" || exit
|
||||
git pull
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
shopt -s nullglob
|
||||
for g in /sys/kernel/iommu_groups/*; do
|
||||
echo "IOMMU Group ${g##*/}:"
|
||||
|
@ -1,4 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
# redetects PulseAudio outputs
|
||||
pacmd unload-module module-udev-detect && pacmd load-module module-udev-detect
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
# redetects PulseAudio outputs
|
||||
pacmd unload-module module-udev-detect && pacmd load-module module-udev-detect
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user