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
No known key found for this signature in database
GPG Key ID: 555C902A34EC968F
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

@ -1,6 +1,6 @@
#!/bin/sh
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
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

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
# Install necessary packages
dnf install -y @hardware-support arc-theme chrony gnome-keyring NetworkManager-wifi network-manager-applet qubes-core-agent-networking qubes-core-agent-network-manager xfce4-notifyd

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 "$@"