Remove interpreter specification

These script fragments should only ever be sourced rather then directly
executed
This commit is contained in:
Devon Mackay 2018-07-06 13:17:03 -04:00
parent 16de4f829e
commit c4283fe1a4
3 changed files with 3 additions and 8 deletions

View File

@ -1,7 +1,5 @@
#!/bin/bash # global_header.inc: Any basic things that should be executed at the
# beginning of any and every script
# scriptz/global_header.inc: Any basic things that should be executed at the
# beginning of any and every script
# If any command fails, immediately exit the script # If any command fails, immediately exit the script
set -e set -e

View File

@ -1,10 +1,9 @@
#!/bin/bash
# helper_functions.inc.sh: General helper functions # helper_functions.inc.sh: General helper functions
# Check pip to see if the given package is installed # Check pip to see if the given package is installed
# (returns 0 if installed, 2 if not installed) # (returns 0 if installed, 2 if not installed)
check_pip_for () { check_pip_for () {
# Use 'pip list' to see if the requested package is already installed
return $(pip list --format=columns --disable-pip-version-check | \ return $(pip list --format=columns --disable-pip-version-check | \
grep -Fe "${1}" >/dev/null 2>&1) grep -Fe "${1}" >/dev/null 2>&1)
} }

View File

@ -1,5 +1,3 @@
#!/bin/bash
# setup_functions.inc.sh: Functions used by the setup script # setup_functions.inc.sh: Functions used by the setup script
install_pipenv() { install_pipenv() {