Fix crash on missing libcrypto

pull/5/head
xSmurf 9 years ago
parent 321f3f0233
commit 49433a81d1

@ -39,11 +39,13 @@ else
fi fi
# Set pax flax (tentative) # Set pax flax (tentative)
if [ -e "$TARGET_DIR/usr/lib/libcrypto.so.1.0.0" ]; then
echo "Setting paxflag on libcrypto ..." echo "Setting paxflag on libcrypto ..."
/sbin/paxctl -c $TARGET_DIR/usr/lib/libcrypto.so.1.0.0 /sbin/paxctl -c $TARGET_DIR/usr/lib/libcrypto.so.1.0.0
error_exit $? error_exit $?
/sbin/paxctl -m $TARGET_DIR/usr/lib/libcrypto.so.1.0.0 /sbin/paxctl -m $TARGET_DIR/usr/lib/libcrypto.so.1.0.0
error_exit $? error_exit $?
fi
# Add symlink to gpg2 for convenience # Add symlink to gpg2 for convenience
if [ ! -e "$TARGET_DIR/usr/bin/gpg" ]; then if [ ! -e "$TARGET_DIR/usr/bin/gpg" ]; then

Loading…
Cancel
Save