Enable syntax highlighting/linting for scriptlets

Various editors depend on the shebang line to determine what language
to use for syntax highlighting and/or linting.  Therefore add one.  It
is ignored when sourcing and the scriplets are not executable so the
shebang will never be used.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
pull/377/head
Daniel F. Dickinson 2020-01-16 10:34:16 -05:00
parent 88e0972a3c
commit 9efaea5036
8 changed files with 19 additions and 0 deletions

View File

@ -1,3 +1,5 @@
#!/bin/bash
log (){
date +"[%T] $*" | tee -a "${LOG_FILE}"
}

View File

@ -1,3 +1,5 @@
#!/bin/bash
# dependencies_check
# $@ Dependency files to check
#

View File

@ -1,3 +1,5 @@
#!/bin/bash
IMG_SUFFIX="-lite"
if [ "${USE_QEMU}" = "1" ]; then
export IMG_SUFFIX="${IMG_SUFFIX}-qemu"

View File

@ -1,2 +1,5 @@
#!/bin/bash
# shellcheck disable=SC2034
NOOBS_NAME="Raspbian Lite"
NOOBS_DESCRIPTION="A port of Debian with no desktop environment"

View File

@ -1,3 +1,5 @@
#!/bin/bash
IMG_SUFFIX=""
if [ "${USE_QEMU}" = "1" ]; then
export IMG_SUFFIX="${IMG_SUFFIX}-qemu"

View File

@ -1,2 +1,5 @@
#!/bin/bash
# shellcheck disable=SC2034
NOOBS_NAME="Raspbian"
NOOBS_DESCRIPTION="A port of Debian with the Raspberry Pi Desktop"

View File

@ -1,3 +1,5 @@
#!/bin/bash
IMG_SUFFIX="-full"
if [ "${USE_QEMU}" = "1" ]; then
export IMG_SUFFIX="${IMG_SUFFIX}-qemu"

View File

@ -1,2 +1,5 @@
#!/bin/bash
# shellcheck disable=SC2034
NOOBS_NAME="Raspbian Full"
NOOBS_DESCRIPTION="A port of Debian with desktop and recommended applications"