Browse Source

Fix workaround for libgmp to work on slack64.

Georgi Chorbadzhiyski 11 years ago
parent
commit
bb96303943
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      update_script.sh

+ 1
- 1
update_script.sh View File

146
 	fi
146
 	fi
147
 	# UGLY HACK #3, to upgrade from 13.0 to -current you need
147
 	# UGLY HACK #3, to upgrade from 13.0 to -current you need
148
 	# coreutils-8.4 has new dependency for the expr program
148
 	# coreutils-8.4 has new dependency for the expr program
149
-	if [ "$PKG_GMP" != "" -a ! -f "/usr/lib/libgmp.la" ]; then
149
+	if [ "$PKG_GMP" != "" -a \( ! -f "/usr/lib/libgmp.la" -a ! -f "/usr/lib64/libgmp.la" \) ]; then
150
 		pkg_install "gmp is not installed. Installing it." $PKG_GMP
150
 		pkg_install "gmp is not installed. Installing it." $PKG_GMP
151
 	fi
151
 	fi
152
 	# UGLY HACK #4, to upgrade from 13.1 to 14 you need
152
 	# UGLY HACK #4, to upgrade from 13.1 to 14 you need

Loading…
Cancel
Save