Browse Source

Fix libcap check

Georgi Chorbadzhiyski 14 years ago
parent
commit
eef2edc857
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      update_script.sh

+ 3
- 1
update_script.sh View File

@@ -154,7 +154,9 @@ mkdir ${REMOTE_DIR} 2>/dev/null
154 154
 			pkg_install "Sed is not installed. Installing it." $PKG_SED
155 155
 		fi
156 156
 		if [ "$PKG_LIBCAP" != "" -a ! -f "/lib/libcap.a" ]; then
157
-			pkg_install "libcap is not installed. Installing it." $PKG_LIBCAP
157
+			if [ ! -f "/lib64/libcap.a" ]; then
158
+				pkg_install "libcap is not installed. Installing it." $PKG_LIBCAP
159
+			fi
158 160
 		fi
159 161
 	done
160 162
 

Loading…
Cancel
Save