scripts/InstallScripts/UpgradeKernel.sh: RESOURCES is unused, remove it

Also remove leading newline; that's not a valid shebang
This commit is contained in:
Austin English 2020-05-20 16:01:04 -05:00
parent 33667c4565
commit 9ed8e86ab1

View File

@ -1,4 +1,3 @@
#!/bin/bash #!/bin/bash
#Replace the PrawnOS linux kernel that is installed on the internal emmc storage with #Replace the PrawnOS linux kernel that is installed on the internal emmc storage with
@ -20,7 +19,6 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with PrawnOS. If not, see <https://www.gnu.org/licenses/>. # along with PrawnOS. If not, see <https://www.gnu.org/licenses/>.
RESOURCES=/InstallResources
# Grab the boot device, which is either /dev/sda for usb or /dev/mmcblk0 for an sd card # Grab the boot device, which is either /dev/sda for usb or /dev/mmcblk0 for an sd card
BOOT_DEVICE=$(mount | head -n 1 | cut -d '2' -f 1) BOOT_DEVICE=$(mount | head -n 1 | cut -d '2' -f 1)