Add set -u

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy
2024-07-20 18:20:34 -07:00
parent 5500bc5164
commit 14fa0d89e1
12 changed files with 12 additions and 12 deletions

View File

@@ -14,7 +14,7 @@
# License for the specific language governing permissions and limitations under
# the License.
set -e
set -eu
unpriv(){
sudo -u nobody "$@"

View File

@@ -14,7 +14,7 @@
# License for the specific language governing permissions and limitations under
# the License.
set -e
set -eu
unpriv(){
sudo -u nobody "$@"

View File

@@ -14,7 +14,7 @@
# License for the specific language governing permissions and limitations under
# the License.
set -e
set -eu
sudo dnf install -y https://github.com/manga-download/hakuneko/releases/download/nightly-20200705.1/hakuneko-desktop_8.3.4_linux_amd64.rpm
sudo dnf config-manager --enable fedora-cisco-openh264 rpmfusion-free rpmfusion-free-updates rpmfusion-nonfree rpmfusion-nonfree-updates

View File

@@ -14,7 +14,7 @@
# License for the specific language governing permissions and limitations under
# the License.
set -e
set -eu
umask 022

View File

@@ -14,7 +14,7 @@
# License for the specific language governing permissions and limitations under
# the License.
set -e
set -eu
unpriv(){
sudo -u nobody "$@"

View File

@@ -14,6 +14,6 @@
# License for the specific language governing permissions and limitations under
# the License.
set -e
set -eu
sudo dnf install -y android-tools mediawriter gnome-disk-utility