opera: fix build

+2 -1
+2 -1
pkgs/applications/networking/browsers/opera/default.nix
··· 50 50 51 51 preFixup = 52 52 '' 53 + rm $out/bin/uninstall-opera 53 54 find $out/lib/opera -type f | while read f; do 54 - type=$(readelf -h "$f" 2>/dev/null | grep 'Type:' | sed -e 's/ *Type: *\([A-Z]*\) (.*/\1/') 55 + type=$(readelf -h "$f" 2>/dev/null | sed -n 's/ *Type: *\([A-Z]*\).*/\1/p' || true) 55 56 if [ -z "$type" ]; then 56 57 : 57 58 elif [ $type == "EXEC" ]; then