Skip to content

Commit

Permalink
Release 7.7.2 - See CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tiredofit committed Aug 5, 2022
1 parent 728611b commit 455d159
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 7.7.2 2022-08-05 <dave at tiredofit dot ca>

### Changed
- Fix for custom_scripts function not firing properly


## 7.7.1 2022-08-05 <dave at tiredofit dot ca>

### Changed
Expand Down
4 changes: 2 additions & 2 deletions install/assets/functions/00-container
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ custom_scripts() {
ccustom_scripts_source="${CONTAINER_CUSTOM_SCRIPTS_PATH}"
fi

if [ -d "${ccustom_scripts_source}" ] && dir_notempty ; then
if [ -d "${ccustom_scripts_source}" ] && dir_notempty "${ccustom_scripts_source}" ; then
for ccustom_script in "${ccustom_scripts_source}"/*.sh ; do
if [ -x "$ccustom_script" ] && [ ! -d "$ccustom_script" ] ; then
print_debug "Custom Script executing: '${ccustom_script}'"
Expand Down Expand Up @@ -1082,7 +1082,7 @@ truefalse_onoff() {

truefalse_onezero() {
## Convert TRUE or FALSE statements to either 1 or 0
## Usage: 'truefalse_yesno varname'
## Usage: 'truefalse_onezero varname'
## Don't prefix it with a $
value=$(set | grep "${1}"= | cut -d '=' -f2)
var=$(set | grep "${1}"= | sed "s/=.*//g")
Expand Down

0 comments on commit 455d159

Please sign in to comment.