summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xshellscript/if_or.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/shellscript/if_or.sh b/shellscript/if_or.sh
new file mode 100755
index 0000000..b21508d
--- /dev/null
+++ b/shellscript/if_or.sh
@@ -0,0 +1,10 @@
1#!/bin/bash
2
3#lib="efl"
4lib="elementary"
5
6if [ $lib == "efl" -o $lib == "elementary" ]; then
7 echo "true"
8else
9 echo "false"
10fi