mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
Merge pull request #3285 from holta/iiab-apps-to-be-installed_double_brackets_safer
/usr/bin/iiab-apps-to-be-installed: double square brackets (safer for string compare)
This commit is contained in:
commit
939e34dc65
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
|
||||
|
||||
while read app; do
|
||||
if [ $app == "calibre-web" ]; then
|
||||
if [[ $app == "calibre-web" ]]; then
|
||||
app=calibreweb
|
||||
elif [ $app == "osm-vector-maps" ]; then
|
||||
elif [[ $app == "osm-vector-maps" ]]; then
|
||||
app=osm_vector_maps
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue