mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
iiab-apps-to-be-installed: double brackets (safer for string compare)
This commit is contained in:
parent
b12826d7af
commit
b56e4d5079
1 changed files with 2 additions and 2 deletions
|
@ -18,9 +18,9 @@ iiab_var_value() {
|
||||||
grep -hro '[A-Za-z_][A-Za-z_]*_installed: True' --exclude-dir=0-DEPRECATED-ROLES /opt/iiab/iiab/roles | sed 's/_installed: True$//' | sort | uniq > /tmp/iiab-apps-list
|
grep -hro '[A-Za-z_][A-Za-z_]*_installed: True' --exclude-dir=0-DEPRECATED-ROLES /opt/iiab/iiab/roles | sed 's/_installed: True$//' | sort | uniq > /tmp/iiab-apps-list
|
||||||
|
|
||||||
while read app; do
|
while read app; do
|
||||||
if [ $app == "calibre-web" ]; then
|
if [[ $app == "calibre-web" ]]; then
|
||||||
app=calibreweb
|
app=calibreweb
|
||||||
elif [ $app == "osm-vector-maps" ]; then
|
elif [[ $app == "osm-vector-maps" ]]; then
|
||||||
app=osm_vector_maps
|
app=osm_vector_maps
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue