diff --git a/usr/bin/jupiter-biosupdate b/usr/bin/jupiter-biosupdate index 7b7a206..273a162 100755 --- a/usr/bin/jupiter-biosupdate +++ b/usr/bin/jupiter-biosupdate @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -e ## Environment overrides diff --git a/usr/bin/jupiter-check-support b/usr/bin/jupiter-check-support index bd56a57..0bef6f2 100755 --- a/usr/bin/jupiter-check-support +++ b/usr/bin/jupiter-check-support @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -e diff --git a/usr/bin/jupiter-controller-update b/usr/bin/jupiter-controller-update index 4f850b3..ce69763 100755 --- a/usr/bin/jupiter-controller-update +++ b/usr/bin/jupiter-controller-update @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -euo pipefail diff --git a/usr/bin/steamos-polkit-helpers/jupiter-biosupdate b/usr/bin/steamos-polkit-helpers/jupiter-biosupdate index 1d7b792..c716d12 100755 --- a/usr/bin/steamos-polkit-helpers/jupiter-biosupdate +++ b/usr/bin/steamos-polkit-helpers/jupiter-biosupdate @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/jupiter-check-support b/usr/bin/steamos-polkit-helpers/jupiter-check-support index 9a442c8..862cec7 100755 --- a/usr/bin/steamos-polkit-helpers/jupiter-check-support +++ b/usr/bin/steamos-polkit-helpers/jupiter-check-support @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/jupiter-dock-updater b/usr/bin/steamos-polkit-helpers/jupiter-dock-updater index 15c695b..8733486 100755 --- a/usr/bin/steamos-polkit-helpers/jupiter-dock-updater +++ b/usr/bin/steamos-polkit-helpers/jupiter-dock-updater @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/jupiter-fan-control b/usr/bin/steamos-polkit-helpers/jupiter-fan-control index 2dfa176..ce77476 100755 --- a/usr/bin/steamos-polkit-helpers/jupiter-fan-control +++ b/usr/bin/steamos-polkit-helpers/jupiter-fan-control @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/jupiter-get-als-gain b/usr/bin/steamos-polkit-helpers/jupiter-get-als-gain index 775b5f4..f97753b 100755 --- a/usr/bin/steamos-polkit-helpers/jupiter-get-als-gain +++ b/usr/bin/steamos-polkit-helpers/jupiter-get-als-gain @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/steamos-devkit-mode b/usr/bin/steamos-polkit-helpers/steamos-devkit-mode index b93f523..1678640 100755 --- a/usr/bin/steamos-polkit-helpers/steamos-devkit-mode +++ b/usr/bin/steamos-polkit-helpers/steamos-devkit-mode @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/steamos-disable-wireless-power-management b/usr/bin/steamos-polkit-helpers/steamos-disable-wireless-power-management index 82b602c..ab77256 100755 --- a/usr/bin/steamos-polkit-helpers/steamos-disable-wireless-power-management +++ b/usr/bin/steamos-polkit-helpers/steamos-disable-wireless-power-management @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/steamos-enable-sshd b/usr/bin/steamos-polkit-helpers/steamos-enable-sshd index fa7698f..ba4ab84 100755 --- a/usr/bin/steamos-polkit-helpers/steamos-enable-sshd +++ b/usr/bin/steamos-polkit-helpers/steamos-enable-sshd @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/steamos-factory-reset-config b/usr/bin/steamos-polkit-helpers/steamos-factory-reset-config index 3a2a367..aaeb20a 100755 --- a/usr/bin/steamos-polkit-helpers/steamos-factory-reset-config +++ b/usr/bin/steamos-polkit-helpers/steamos-factory-reset-config @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/steamos-format-device b/usr/bin/steamos-polkit-helpers/steamos-format-device index d9866a9..dcfe6b9 100755 --- a/usr/bin/steamos-polkit-helpers/steamos-format-device +++ b/usr/bin/steamos-polkit-helpers/steamos-format-device @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/steamos-format-sdcard b/usr/bin/steamos-polkit-helpers/steamos-format-sdcard index 6d9859f..53b4f2a 100755 --- a/usr/bin/steamos-polkit-helpers/steamos-format-sdcard +++ b/usr/bin/steamos-polkit-helpers/steamos-format-sdcard @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/steamos-poweroff-now b/usr/bin/steamos-polkit-helpers/steamos-poweroff-now index 1841ce0..e7e234e 100755 --- a/usr/bin/steamos-polkit-helpers/steamos-poweroff-now +++ b/usr/bin/steamos-polkit-helpers/steamos-poweroff-now @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/steamos-priv-write b/usr/bin/steamos-polkit-helpers/steamos-priv-write index 907133b..1c0f6c6 100755 --- a/usr/bin/steamos-polkit-helpers/steamos-priv-write +++ b/usr/bin/steamos-polkit-helpers/steamos-priv-write @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/steamos-reboot-now b/usr/bin/steamos-polkit-helpers/steamos-reboot-now index b4dcc81..6dc8018 100755 --- a/usr/bin/steamos-polkit-helpers/steamos-reboot-now +++ b/usr/bin/steamos-polkit-helpers/steamos-reboot-now @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/steamos-reboot-other b/usr/bin/steamos-polkit-helpers/steamos-reboot-other index ad466f2..60f9f8c 100755 --- a/usr/bin/steamos-polkit-helpers/steamos-reboot-other +++ b/usr/bin/steamos-polkit-helpers/steamos-reboot-other @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/steamos-restart-sddm b/usr/bin/steamos-polkit-helpers/steamos-restart-sddm index 9e08cd6..189c805 100755 --- a/usr/bin/steamos-polkit-helpers/steamos-restart-sddm +++ b/usr/bin/steamos-polkit-helpers/steamos-restart-sddm @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/steamos-select-branch b/usr/bin/steamos-polkit-helpers/steamos-select-branch index 1b1d6c1..73f8547 100755 --- a/usr/bin/steamos-polkit-helpers/steamos-select-branch +++ b/usr/bin/steamos-polkit-helpers/steamos-select-branch @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/steamos-set-hostname b/usr/bin/steamos-polkit-helpers/steamos-set-hostname index f63e164..400ab9e 100755 --- a/usr/bin/steamos-polkit-helpers/steamos-set-hostname +++ b/usr/bin/steamos-polkit-helpers/steamos-set-hostname @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/steamos-set-timezone b/usr/bin/steamos-polkit-helpers/steamos-set-timezone index 2811d82..a3935c4 100755 --- a/usr/bin/steamos-polkit-helpers/steamos-set-timezone +++ b/usr/bin/steamos-polkit-helpers/steamos-set-timezone @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/steamos-trim-devices b/usr/bin/steamos-polkit-helpers/steamos-trim-devices index 38f92a1..296a6c7 100755 --- a/usr/bin/steamos-polkit-helpers/steamos-trim-devices +++ b/usr/bin/steamos-polkit-helpers/steamos-trim-devices @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/bin/steamos-polkit-helpers/steamos-update b/usr/bin/steamos-polkit-helpers/steamos-update index bae7403..1a7e948 100755 --- a/usr/bin/steamos-polkit-helpers/steamos-update +++ b/usr/bin/steamos-polkit-helpers/steamos-update @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -eu diff --git a/usr/lib/hwsupport/format-device.sh b/usr/lib/hwsupport/format-device.sh index 6529e23..9de19b1 100755 --- a/usr/lib/hwsupport/format-device.sh +++ b/usr/lib/hwsupport/format-device.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -e diff --git a/usr/lib/hwsupport/format-sdcard.sh b/usr/lib/hwsupport/format-sdcard.sh index 36df682..3e13083 100755 --- a/usr/lib/hwsupport/format-sdcard.sh +++ b/usr/lib/hwsupport/format-sdcard.sh @@ -1,3 +1,3 @@ -#!/bin/bash +#!/usr/bin/sh exec /usr/lib/hwsupport/format-device.sh --device /dev/mmcblk0 "$@" diff --git a/usr/lib/hwsupport/steamos-automount.sh b/usr/lib/hwsupport/steamos-automount.sh index 9e40c22..ce613b6 100755 --- a/usr/lib/hwsupport/steamos-automount.sh +++ b/usr/lib/hwsupport/steamos-automount.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -euo pipefail diff --git a/usr/lib/hwsupport/trim-devices.sh b/usr/lib/hwsupport/trim-devices.sh index f5b3e8e..cc438af 100755 --- a/usr/lib/hwsupport/trim-devices.sh +++ b/usr/lib/hwsupport/trim-devices.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh set -e diff --git a/usr/share/jupiter_bios_updater/H2OFFTx64-G.sh b/usr/share/jupiter_bios_updater/H2OFFTx64-G.sh index 8089778..f0d591e 100755 --- a/usr/share/jupiter_bios_updater/H2OFFTx64-G.sh +++ b/usr/share/jupiter_bios_updater/H2OFFTx64-G.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh TARGET_DIR=. EXE_FILE=h2offt-g diff --git a/usr/share/jupiter_bios_updater/H2OFFTx64.sh b/usr/share/jupiter_bios_updater/H2OFFTx64.sh index ab3513f..9243bf3 100755 --- a/usr/share/jupiter_bios_updater/H2OFFTx64.sh +++ b/usr/share/jupiter_bios_updater/H2OFFTx64.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/sh TARGET_DIR=. EXE_FILE=h2offt diff --git a/usr/share/jupiter_controller_fw_updater/d20bootloader.py b/usr/share/jupiter_controller_fw_updater/d20bootloader.py index dadd0ef..27b8bc8 100755 --- a/usr/share/jupiter_controller_fw_updater/d20bootloader.py +++ b/usr/share/jupiter_controller_fw_updater/d20bootloader.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/python3 # -*- coding: utf-8 -*- import click import crcmod diff --git a/usr/share/jupiter_controller_fw_updater/d21bootloader16.py b/usr/share/jupiter_controller_fw_updater/d21bootloader16.py index 5ee6d41..c662149 100755 --- a/usr/share/jupiter_controller_fw_updater/d21bootloader16.py +++ b/usr/share/jupiter_controller_fw_updater/d21bootloader16.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/python3 import click import crcmod import datetime diff --git a/usr/lib/hwsupport/power-button-handler.py b/usr/lib/hwsupport/power-button-handler.py index 1a46251..73f2a3d 100755 --- a/usr/lib/hwsupport/power-button-handler.py +++ b/usr/lib/hwsupport/power-button-handler.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 import evdev import threading