summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2013-11-15 19:05:45 +0100
committerlassulus <lassulus@googlemail.com>2013-11-15 19:05:45 +0100
commitdfec00ff7b45e2c9c1ff73bc4bd2661c856326e9 (patch)
tree3472442963e9871b27cf8648b71bb8adf66c880c
parent317ddcfd91dd351d4a957793bf7b7fc2da7a8969 (diff)
tinc-install: fixed os detection
-rwxr-xr-xretiolum/scripts/tinc_setup/new_install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/retiolum/scripts/tinc_setup/new_install.sh b/retiolum/scripts/tinc_setup/new_install.sh
index 226e7c1b..1ebde38b 100755
--- a/retiolum/scripts/tinc_setup/new_install.sh
+++ b/retiolum/scripts/tinc_setup/new_install.sh
@@ -336,7 +336,7 @@ find_os()
{
if grep -qe 'Linux' /etc/*release 2>/dev/null || grep -qe 'Linux' /etc/issue 2>/dev/null; then
OS='linux'
- elif exists getprop ; then
+ elif test -e /etc/preferred-apps/google.xml; then
OS='android'
elif test -e /etc/openwrt_release; then
OS='openwrt'