Merge branch 'master' into 'master'
fix behavior of template string See merge request domi/bashtube!3
This commit is contained in:
commit
3f79b9b48d
|
@ -4,7 +4,11 @@ source ${cfg[namespace]}/templates/header.shs
|
||||||
|
|
||||||
declare -A strings
|
declare -A strings
|
||||||
|
|
||||||
strings[favourites]="No favorite videos found,<br>you can do it first! ^w^"
|
if [[ -s storage/faves ]]; then
|
||||||
|
strings[favourites]=""
|
||||||
|
else
|
||||||
|
strings[favourites]="No favorite videos found,<br>you can do it first! ^w^"
|
||||||
|
fi
|
||||||
|
|
||||||
IFS=$'\n'
|
IFS=$'\n'
|
||||||
for i in $(tac storage/faves); do
|
for i in $(tac storage/faves); do
|
||||||
|
|
Loading…
Reference in a new issue