1
0
mirror of https://github.com/tommytran732/QubesOS-Scripts synced 2024-11-24 10:31:35 -05:00

Compare commits

...

2 Commits

Author SHA1 Message Date
0d34361a7e
Add set -u to dom0 2024-07-20 18:22:21 -07:00
14fa0d89e1
Add set -u
Signed-off-by: Tommy <contact@tommytran.io>
2024-07-20 18:20:34 -07:00
13 changed files with 13 additions and 13 deletions

View File

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

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
set -e set -eu
unpriv(){ unpriv(){
sudo -u nobody "$@" sudo -u nobody "$@"

View File

@ -14,7 +14,7 @@
# License for the specific language governing permissions and limitations under # License for the specific language governing permissions and limitations under
# the License. # the License.
set -e set -eu
# Enabling discard and fstrim # Enabling discard and fstrim
sudo sed -i 's/issue_discards = 0/issue_discards = 1/g' /etc/lvm/lvm.conf sudo sed -i 's/issue_discards = 0/issue_discards = 1/g' /etc/lvm/lvm.conf

View File

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

View File

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

View File

@ -14,7 +14,7 @@
# License for the specific language governing permissions and limitations under # License for the specific language governing permissions and limitations under
# the License. # 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 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 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 # License for the specific language governing permissions and limitations under
# the License. # the License.
set -e set -eu
umask 022 umask 022

View File

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

View File

@ -14,6 +14,6 @@
# License for the specific language governing permissions and limitations under # License for the specific language governing permissions and limitations under
# the License. # the License.
set -e set -eu
sudo dnf install -y android-tools mediawriter gnome-disk-utility 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 # License for the specific language governing permissions and limitations under
# the License. # the License.
set -e set -eu
unpriv(){ unpriv(){
sudo -u nobody "$@" sudo -u nobody "$@"

View File

@ -14,7 +14,7 @@
# License for the specific language governing permissions and limitations under # License for the specific language governing permissions and limitations under
# the License. # the License.
set -e set -eu
# Install necessary packages # 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 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 # License for the specific language governing permissions and limitations under
# the License. # the License.
set -e set -eu
unpriv(){ unpriv(){
sudo -u nobody "$@" sudo -u nobody "$@"

View File

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